mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 15:44:32 +00:00
Add Groq provider to screen assistant model selection and API routing
Agent-Logs-Url: https://github.com/AkhilKonduru1/Atoll/sessions/d40c666d-f589-48ca-9539-1fd33c799962 Co-authored-by: AkhilKonduru1 <210101196+AkhilKonduru1@users.noreply.github.com>
This commit is contained in:
parent
dbdeabdd83
commit
01c4284270
4 changed files with 93 additions and 9 deletions
|
|
@ -450,6 +450,7 @@ struct ChatInputView: View {
|
|||
case .openai: return "brain.head.profile"
|
||||
case .claude: return "doc.text"
|
||||
case .local: return "server.rack"
|
||||
case .groq: return "bolt.fill"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -472,6 +473,8 @@ struct ChatInputView: View {
|
|||
case .local:
|
||||
// Local models don't need API keys
|
||||
apiKey = "local"
|
||||
case .groq:
|
||||
apiKey = Defaults[.groqApiKey]
|
||||
}
|
||||
|
||||
if apiKey.isEmpty {
|
||||
|
|
@ -806,4 +809,4 @@ struct ScreenshotPopoverBackground: NSViewRepresentable {
|
|||
ScreenCaptureVisibilityManager.shared.unregister(window)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue