summaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
AgeCommit message (Collapse)AuthorLines
2025-01-10feat: support default terminal editor (#1082)sigoden-5/+17
2025-01-10feat: discontinue `rag_min_score_*` config items (#1081)sigoden-26/+1
2025-01-09feat: `.file` supports including last reply with `%%` (#1079)sigoden-20/+44
2024-12-13fix: agent variables don't initialized if start session with last message ↵sigoden-3/+5
(#1054)
2024-12-06refactor: change config field name (#1042)sigoden-4/+4
append_command_to_history_file => save_shell_history
2024-12-04refactor: improve retrieve model (#1036)sigoden-8/+11
- 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-04refactor: do not refresh documents when `.edit rag-docs` (#1032)sigoden-2/+2
2024-12-03refactor: allow `.edit role` in empty session with role (#1031)sigoden-1/+11
2024-12-01feat: add cli option `--agent-variable <name> <value>` (#1027)sigoden-9/+27
2024-12-01feat: append shell execute command to history file (#1026)sigoden-2/+7
2024-12-01feat: agent supports dynamic instructions (#1023)sigoden-24/+58
* 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-6/+6
2024-11-19feat: support autonaming session (#1001)sigoden-24/+118
2024-11-14refactor: improve tool calls (#995)sigoden-2/+16
- rename MessageContent:ToolResults to MessageContent:ToolCalls - rename ToolResults to MessageContentToolCalls - persist tool_calls to messages.md
2024-11-14feat: save function calls in the session (#994)sigoden-1/+10
2024-11-13feat: support env `<AGENT_NAME>_CONFIG_FILE` (#990)sigoden-1/+4
2024-11-13refactor: don't init agent RAG/variables when using `--info` (#989)sigoden-3/+13
2024-11-13refactor: no side effect `--save-session` (#987)sigoden-0/+10
2024-11-11refactor: improve RAG (#982)sigoden-1/+1
- set max default_chuck_size to 2000 - set default rag_top_k to 4 - change reciprocal_rank_fusion weights
2024-11-09refactor: path related functions (#981)sigoden-94/+82
2024-11-07refactor: improve error message (#979)sigoden-17/+19
2024-11-07refactor: init agent variables (#977)sigoden-5/+11
2024-11-06feat: support overriding agent config with env vars (#974)sigoden-33/+34
2024-11-06refactor: several improvements (#973)sigoden-14/+7
2024-11-06feat: add config `user_agent` (#971)sigoden-0/+16
2024-11-05feat: `.agent` accepts session name (#970)sigoden-26/+13
2024-11-05feat: support session-scoped agent variables (#969)sigoden-4/+48
2024-11-05feat: change agent config/variables (#967)sigoden-13/+0
- 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-11-03feat: support `.edit rag-docs` (#964)sigoden-1/+50
2024-11-02refactor: forbid `.exit role` if the session is not empty (#963)sigoden-2/+3
2024-10-29feat: `.info role`/`.exit role` works for session role (#958)sigoden-14/+18
2024-10-22refactor: several improvements (#943)sigoden-16/+16
- 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-17refactor: improve RAG search (#931)sigoden-9/+14
2024-10-16refactor: generated config.yaml (#927)sigoden-0/+3
2024-10-14feat: add CLI option `--empty-session` (#922)sigoden-1/+1
2024-10-11fix: prelude works only if the state is empty (#920)sigoden-11/+8
2024-10-09refactor: throw error if using non-exist RAG in CMD mode (#917)sigoden-3/+9
2024-10-08refactor: NO_COLOR, highlight and render_error (#915)sigoden-12/+2
- If NO_COLOR is enabled, AIChat will not output any ANSI color codes. - `config.highlight` will only affect rendering markdown - improve rendering error
2024-10-08feat: session persists role name (#914)sigoden-5/+9
2024-10-08feat: prelude supports <session>:<role> (#913)sigoden-0/+8
2024-10-05feat: add `.compress session` REPL command (#907)sigoden-4/+20
2024-10-05feat: when saving input to message.md, use file paths instead of file ↵sigoden-2/+4
contents (#905)
2024-09-26feat: respect XDG_CONFIG_HOME for placing config dir (#889)sigoden-5/+5
2024-09-24refactor: several improvement (#881)sigoden-1/+1
2024-09-14feat: add `.source rag` repl command (#871)sigoden-1/+12
2024-09-14feat: add `.save agent-config` repl command (#870)sigoden-54/+73
2024-09-13refactor: role/session/agent should not inherit the global `use_tools` (#868)sigoden-23/+28
2024-09-13refactor: improve repl completeion (#865)sigoden-38/+34
2024-09-13refactor: no delete the existing role/session when saving with a new name (#863)sigoden-12/+0
2024-09-13feat: add `.delete` repl command (#862)sigoden-5/+79