Skip to content

Commit

Permalink
test: attempt more reliable prompting for the subagent test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Dec 3, 2024
1 parent a7038e4 commit fe6730c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,12 @@ def test_subagent(args: list[str], runner: CliRunner):
# f14: 377
# f15: 610
# f16: 987
args.append(
"Test the subagent tool by asking it to compute `fib(15)`, where `fib(1) = 1` and `fib(2) = 1`. Answer with the value."
args.extend(
[
"We are in a test. Use the subagent tool to compute `fib(15)`, where `fib(1) = 1` and `fib(2) = 1`.",
"-",
"Answer with the value.",
]
)
print(f"running: gptme {' '.join(args)}")
result = runner.invoke(gptme.cli.main, args)
Expand Down

0 comments on commit fe6730c

Please sign in to comment.