summaryrefslogtreecommitdiffstats
path: root/src/config/agent.rs
AgeCommit message (Collapse)AuthorLines
2025-01-19refactor: improve autocompletion for agent variable (#1104)sigoden-0/+21
2025-01-18feat: no longer support `.variable` repl command (#1092)sigoden-21/+0
2025-01-17feat: support macro (#1087)sigoden-1/+1
2025-01-15feat: no longer support `.set agent_prelude <value>` (#1086)sigoden-4/+0
2024-12-14feat: supports override agent instructions via agent config (#1057)sigoden-3/+9
2024-12-13fix: agent variables don't initialized if start session with last message ↵sigoden-1/+1
(#1054)
2024-12-07refactor: several improvements (#1044)sigoden-4/+1
- update models.yaml - update azure openai api version - agent `run_instructions_fn`
2024-12-04refactor: improve retrieve model (#1036)sigoden-1/+1
- check the model type while retrieve model - select chat/reranker model even if it is missed in client models - find predefined-models for openai-compatible client with startsWith - remove client::ApiType
2024-12-01feat: add cli option `--agent-variable <name> <value>` (#1027)sigoden-10/+6
2024-12-01feat: agent supports dynamic instructions (#1023)sigoden-18/+82
* feat: agent supports dynamic instructions * change tool calls' null output to 'TODO' * REPL don't print banner if use agent/rag
2024-11-30refactor: improve code regarding tools/agents (#1021)sigoden-11/+28
2024-11-13refactor: don't init agent RAG/variables when using `--info` (#989)sigoden-1/+5
2024-11-09refactor: path related functions (#981)sigoden-15/+13
2024-11-07refactor: init agent variables (#977)sigoden-3/+5
2024-11-06feat: support overriding agent config with env vars (#974)sigoden-1/+28
2024-11-06refactor: several improvements (#973)sigoden-16/+28
2024-11-05feat: support session-scoped agent variables (#969)sigoden-52/+95
2024-11-05refactor: users can choose whether to initialize the agent RAG (#968)sigoden-13/+22
2024-11-05feat: change agent config/variables (#967)sigoden-61/+17
- abandon `.save agent-config` - add variables to agent config.yaml - don't save agent variables after initializing the agent and using `.variable <key> <value>`
2024-10-22refactor: several improvements (#943)sigoden-2/+2
- rename agents_config_dir to agents_data_dir - do not save empty role name while saving the session - rename delete keys (roles/sessions/rags/agents => role/session/rag/agent-data) - improve some printing messages
2024-10-18refactor: session role_prompt from agent (#933)sigoden-4/+0
2024-10-09refactor: throw error if using non-exist RAG in CMD mode (#917)sigoden-0/+3
2024-09-14feat: add `.save agent-config` repl command (#870)sigoden-9/+26
2024-09-10refactor: extract built-in roles to embedded files (#853)sigoden-20/+1
2024-08-30feat: save temp session with `temp-<timestamp>` if `save_session: true` (#811)sigoden-8/+1
2024-07-31refactor: update models.yaml and make minor improvement (#771)sigoden-1/+4
2024-07-31feat: add agent-scoped `agent_prelude` config (#770)sigoden-1/+7
2024-07-30refactor: several improvements (#765)sigoden-1/+1
2024-07-30refactor: agent instructions (#764)sigoden-6/+11
- replace `__TOOLS__` with `{{__tools__}}` - after `.clear messages`, update system message of agent session - show interpolated instructions in agent info
2024-07-29fix: unable to rebuild agent rag (#763)sigoden-1/+1
2024-07-29feat: add builtin variables for agent (#762)sigoden-0/+27
2024-07-28feat: ask for confirmation when some rag documents fail to load (#760)sigoden-1/+1
2024-07-24feat: move agent config to separate file (#741)sigoden-15/+14
2024-07-13feat: agent instructions support `__TOOLS__` placeholder (#711)sigoden-0/+22
2024-07-10feat: adjust the way of obtaining function call results (#695)sigoden-6/+0
2024-07-09feat: support agent variables (#692)sigoden-3/+117
2024-07-09feat: agent can reuse tools (#690)sigoden-9/+6
2024-07-05feat: enhenced flexibility for use tools (#688)sigoden-9/+9
2024-06-27refactor: agent rag use `documents` field other than `embeddings` dir (#658)sigoden-11/+22
2024-06-22refactor: agents dir (#629)sigoden-1/+1
2024-06-22refactor: rename bot to agent (#628)sigoden-0/+260