Skip to content

Commit 9359c8b

Browse files
Merge pull request #103 from kevinbackhouse/remove-hardcoded-models
Remove hard-coded models from examples
2 parents 8c6bc9d + 0315a96 commit 9359c8b

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

examples/taskflows/echo.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ seclab-taskflow-agent:
77

88
taskflow:
99
- task:
10-
model: claude-3.5-sonnet
1110
max_steps: 5
1211
must_complete: true
1312
agents:

examples/taskflows/example.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ seclab-taskflow-agent:
55
version: 1
66
filetype: taskflow
77

8+
# Import settings from a model_config file.
9+
model_config: examples.model_configs.model_config
10+
811
taskflow:
912
- task:
1013
# taskflows can optionally choose any of the support CAPI models for a task
11-
model: gpt-4.1
14+
model: gpt_default
1215
# taskflows can optionally limit the max allowed number of Agent task loop
1316
# iterations to complete a task, this defaults to 50 when not provided
1417
max_steps: 20
@@ -41,7 +44,6 @@ taskflow:
4144
- seclab_taskflow_agent.toolboxes.codeql
4245
- task:
4346
must_complete: true
44-
model: gpt-4.1
4547
agents:
4648
- seclab_taskflow_agent.personalities.c_auditer
4749
user_prompt: |

examples/taskflows/example_reusable_taskflows.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ seclab-taskflow-agent:
55
version: 1
66
filetype: taskflow
77

8+
model_config: examples.model_configs.model_config
9+
810
taskflow:
911
- task:
1012
# with the `uses` directive we can reuse single task taskflows
1113
uses: examples.taskflows.single_step_taskflow
1214
# and optionally override any of its configurations
13-
model: gpt-4o
15+
model: gpt_latest

examples/taskflows/example_triage_taskflow.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ taskflow:
3030
toolboxes:
3131
- seclab_taskflow_agent.toolboxes.memcache
3232
- task:
33-
model: gpt-4.1
3433
repeat_prompt: true
3534
agents:
3635
# primary agent for this task

examples/taskflows/single_step_taskflow.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ seclab-taskflow-agent:
77

88
taskflow:
99
- task:
10-
model: gpt-4.1
1110
agents:
1211
- seclab_taskflow_agent.personalities.assistant
1312
user_prompt: |

0 commit comments

Comments
 (0)