Skip to content

Commit a2c9336

Browse files
committed
fix bug in cagent new
we were telling the llm to use the v0 models schema instead of v1 (type-> provider) closes #86 Signed-off-by: Christopher Petito <[email protected]>
1 parent 35f113e commit a2c9336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/creator/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func StreamCreateAgent(ctx context.Context, baseDir, prompt string, runConfig la
183183
version: "1"
184184
models:
185185
%s:
186-
type: %s
186+
provider: %s
187187
model: %s
188188
max_tokens: 64000\n`, provider, provider, defaultModels[provider])
189189
}

0 commit comments

Comments
 (0)