-
Notifications
You must be signed in to change notification settings - Fork 21
update default models #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
37ad914
fcd6cc3
b63fdca
749c9f3
5ebb1c8
509fe29
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -5,7 +5,5 @@ seclab-taskflow-agent: | |||||
| version: "1.0" | ||||||
| filetype: model_config | ||||||
| models: | ||||||
| sonnet_default: claude-sonnet-4 | ||||||
| sonnet_latest: claude-sonnet-4.5 | ||||||
| gpt_default: gpt-4.1 | ||||||
| gpt_latest: gpt-5 | ||||||
|
|
||||||
|
||||||
| gpt_latest: gpt-4.1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,11 +41,11 @@ | |
| api_endpoint = get_AI_endpoint() | ||
| match urlparse(api_endpoint).netloc: | ||
| case AI_API_ENDPOINT_ENUM.AI_API_GITHUBCOPILOT: | ||
| default_model = "gpt-4o" | ||
| default_model = "gpt-4.1" | ||
| case AI_API_ENDPOINT_ENUM.AI_API_MODELS_GITHUB: | ||
| default_model = "openai/gpt-4o" | ||
| default_model = "openai/gpt-4.1" | ||
| case AI_API_ENDPOINT_ENUM.AI_API_OPENAI: | ||
| default_model = "gpt-4o" | ||
| default_model = "gpt-4.1" | ||
|
Comment on lines
41
to
+48
|
||
| case _: | ||
| default_model = "please-set-default-model-via-env" | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This note now suggests a default model like
gpt-4.1, but the actual default model identifier is endpoint-specific (e.g., models.github.ai defaults to a namespaced ID likeopenai/gpt-4.1in src/seclab_taskflow_agent/agent.py). To avoid confusion for users switching endpoints, consider explicitly stating that the default model string depends onAI_API_ENDPOINTand may be namespaced, rather than implying a single identifier.