Skip to content

Commit d9d8e6c

Browse files
authored
Merge pull request #180 from GitHubSecurityLab/p--update-default-models
update default models
2 parents d03fcd5 + 509fe29 commit d9d8e6c

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

doc/GRAMMAR.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Tasks can optionally specify which Model to use on the configured inference endp
8989
This is a user prompt.
9090
```
9191

92-
Note that model identifiers may differ between OpenAI compatible endpoint providers, make sure you change your model identifier accordingly when switching providers. If not specified, a default LLM model (`gpt-4o`) is used.
92+
Note that model identifiers may differ between OpenAI compatible endpoint providers, make sure you change your model identifier accordingly when switching providers. If not specified, a default LLM model (such as `gpt-4.1`) is used.
9393

9494
Parameters to the model can also be specified in the task using the `model_settings` section:
9595

examples/model_configs/model_config.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ seclab-taskflow-agent:
55
version: "1.0"
66
filetype: model_config
77
models:
8-
sonnet_default: claude-sonnet-4
9-
sonnet_latest: claude-sonnet-4.5
108
gpt_default: gpt-4.1
11-
gpt_latest: gpt-5
9+

src/seclab_taskflow_agent/agent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
api_endpoint = get_AI_endpoint()
4242
match urlparse(api_endpoint).netloc:
4343
case AI_API_ENDPOINT_ENUM.AI_API_GITHUBCOPILOT:
44-
default_model = "gpt-4o"
44+
default_model = "gpt-4.1"
4545
case AI_API_ENDPOINT_ENUM.AI_API_MODELS_GITHUB:
46-
default_model = "openai/gpt-4o"
46+
default_model = "openai/gpt-4.1"
4747
case AI_API_ENDPOINT_ENUM.AI_API_OPENAI:
48-
default_model = "gpt-4o"
48+
default_model = "gpt-4.1"
4949
case _:
5050
default_model = "please-set-default-model-via-env"
5151

0 commit comments

Comments
 (0)