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: add agent-scoped agent_prelude config #770

Merged
merged 1 commit into from
Jul 30, 2024
Merged

feat: add agent-scoped agent_prelude config #770

merged 1 commit into from
Jul 30, 2024

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Jul 30, 2024

The agent_prelude config field in config.yaml provides global control over the agent prelude. However, each agent has its own config.yaml file, which can also contain an agent_prelude field for agent-specific control.

# <aichat-config-dir>/config.yaml
agent_prelude: 'temp'

# <aichat-config-dir>/agents/demo/config.yaml
agent_prelude: ''

When starting in demo agent, it will not use the temp session automaticlly.

@sigoden sigoden merged commit 227cd58 into main Jul 30, 2024
3 checks passed
@sigoden sigoden deleted the feat branch July 30, 2024 23:57
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