-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pre-load all prompt file contents instead of just storing a path and …
…load on demand
- Loading branch information
Showing
2 changed files
with
48 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[# system #] | ||
You are a smart assistant. | ||
[# blob {{image_url}} #] | ||
Go! | ||
|
||
[# user #] | ||
What is one plus one? | ||
|
||
[# assistant #] | ||
I will call some tools. | ||
[# tool_call: foo (foo_id) #] | ||
x | ||
[# tool_call: bar #] | ||
y | ||
|
||
[# tool_result: foo_id #] | ||
the result | ||
|
||
[# assistant #] | ||
Looks good, now another one: | ||
|
||
[# tool_call: other (other_id) #] | ||
z | ||
|
||
[# tool_result: other_id #] | ||
the result 2 | ||
|
||
[# assistant #] | ||
[# tool_call: another #] | ||
123 | ||
|
||
[# assistant #] | ||
That's that. | ||
|
||
[# user #] | ||
Here is an image: | ||
[# blob {{image_url}} #] | ||
{{task}} |