summaryrefslogtreecommitdiffstats
path: root/config.agent.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-11-05 06:41:18 +0800
committerGitHub <noreply@github.com>2024-11-05 06:41:18 +0800
commit79973a2d7d4cb296438fcc62c56871fe933d7789 (patch)
tree61a719e77a5c164169754ff1f87aca39482b7ae0 /config.agent.example.yaml
parent9fa3d8cd134571b6a16fb1b328bed3c025742576 (diff)
downloadaichat-79973a2d7d4cb296438fcc62c56871fe933d7789.tar.gz
feat: change agent config/variables (#967)
- abandon `.save agent-config` - add variables to agent config.yaml - don't save agent variables after initializing the agent and using `.variable <key> <value>`
Diffstat (limited to 'config.agent.example.yaml')
-rw-r--r--config.agent.example.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.agent.example.yaml b/config.agent.example.yaml
new file mode 100644
index 0000000..6f7c6ed
--- /dev/null
+++ b/config.agent.example.yaml
@@ -0,0 +1,10 @@
+# Agent-specific configuration
+
+model: openai:gpt-4o # Specify the LLM to use
+temperature: null # Set default temperature parameter
+top_p: null # Set default top-p parameter, range (0, 1)
+use_tools: null # Which additional tools to use by agent. (e.g. 'fs,web_search')
+agent_prelude: null # Set a session to use when starting the agent. (e.g. temp, default)
+
+variables: # Custom default values for the agent variables
+ <key>: <value>