Skip to content

Commit 6559344

Browse files
committed
fix: echo the task's context
Since the context tool isn't using sys.echo, the prompt is fed to the LLM and the response of is being used as the context. This is not the intended behavior. Using sys.echo here will mean that the text is used in the system prompt and the LLM is not used. Signed-off-by: Donnie Adams <[email protected]>
1 parent 70faf83 commit 6559344

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/tool.gpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Metadata: icon: https://cdn.jsdelivr.net/npm/@phosphor-icons/core@2/assets/duoto
55
Metadata: category: Capability
66
Type: context
77

8+
#!sys.echo
9+
810
You have the ability to run tasks for a user. When running a task ensure that all parameter values are provided. If all
911
parameters values are not known ask the user for their values. Before running a task ensure that you have first listed
1012
the tasks to ensure you know what tasks are available and their parameters.

0 commit comments

Comments
 (0)