diff --git a/DesktopAI/Providers/GroqProvider.swift b/DesktopAI/Providers/GroqProvider.swift index a0a978b..7f839ef 100644 --- a/DesktopAI/Providers/GroqProvider.swift +++ b/DesktopAI/Providers/GroqProvider.swift @@ -97,7 +97,7 @@ class GroqProvider: BaseProvider { let requestBody: [String: Any] = [ - "max_tokens": 1024, + "max_tokens": 8192, "messages": messages, "model": item.model, "stop": NSNull(), diff --git a/DesktopAI/SystemPromptSettingsView.swift b/DesktopAI/SystemPromptSettingsView.swift index 5d5ec93..824b54c 100644 --- a/DesktopAI/SystemPromptSettingsView.swift +++ b/DesktopAI/SystemPromptSettingsView.swift @@ -10,6 +10,24 @@ import SwiftData struct SystemPromptSettingsView: View { var body: some View { - Text("Test") + HSplitView { + VStack { + Text("Test") + .frame(width: 200, height: 300) + .border(Color.black, width: 1) + HStack { + Button(action: { + print("Plus") + }) { + Image(systemName: "plus") + } + Button(action: { + print("minus") + }) { + Image(systemName: "minus") + } + } + } + } } }