Skip to content

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Jul 9, 2024

define variables

Variables are generally used to record a certain behavior or preference of a user.

variables:
  - name: foo
    description: This is a foo
  - name: bar
    description: This is a bar with default value
    default: val

Variables can be used in the instructions.

instructions: |
  The instructions can inline {{foo}} and {{bar}} variables.

init variables

image

save variables

/agents//variables.yaml

foo: v1
bar: v2

@sigoden sigoden merged commit a9268b6 into main Jul 9, 2024
@sigoden sigoden deleted the feat branch July 9, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant