summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hexai/main_test.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/cmd/hexai/main_test.go b/cmd/hexai/main_test.go
index 7c20cc4..810dcb2 100644
--- a/cmd/hexai/main_test.go
+++ b/cmd/hexai/main_test.go
@@ -109,9 +109,11 @@ func TestSplitConfigPath(t *testing.T) {
func TestPickDefaultModel(t *testing.T) {
cfg := appconfig.App{
- OllamaModel: "llama3",
- AnthropicModel: "claude-sonnet",
- OpenAIModel: "gpt-4o",
+ ProviderConfig: appconfig.ProviderConfig{
+ OllamaModel: "llama3",
+ AnthropicModel: "claude-sonnet",
+ OpenAIModel: "gpt-4o",
+ },
}
tests := []struct {
provider string