Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support macro #1087

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: support macro #1087

wants to merge 1 commit into from

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Jan 16, 2025

# <aichat-config-dir>/macros/test-function-calling.yaml
steps:
  - .role %functions% what is the weather in Pairs and Berlin?
# <aichat-config-dir>/macros/within-agent.yaml
variables:
  - name: agent
  - name: args
    rest: true
    default: What can your do?
steps:
  - .agent {{agent}}
  - '{{args}}'

image

image

close #1077

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.

Support custom REPL commands
1 participant