summaryrefslogtreecommitdiffstats
path: root/src/function.rs
AgeCommit message (Collapse)AuthorLines
2024-11-05feat: support session-scoped agent variables (#969)sigoden-3/+3
2024-10-18refactor: no print function call in script mode (#934)sigoden-1/+3
2024-07-30feat: export agent variable as `LLM_AGENT_VAR_*` (#766)sigoden-4/+24
2024-07-14refactor: error message of function calls (#718)sigoden-1/+2
2024-07-11refactor: improve calling agent functions (#705)sigoden-22/+17
2024-07-10feat: adjust the way of obtaining function call results (#695)sigoden-64/+14
2024-07-09feat: agent can reuse tools (#690)sigoden-1/+7
2024-07-05feat: enhenced flexibility for use tools (#688)sigoden-33/+16
2024-07-03refactor: improve function calling (#680)sigoden-2/+2
2024-07-02refactor: smart `function_calling` config value (#677)sigoden-1/+1
2024-06-28fix: gemini with functions that have empty parameters (#666)sigoden-0/+9
2024-06-26refactor: enable function_calling by default (#656)sigoden-2/+2
2024-06-22refactor: rename bot to agent (#628)sigoden-6/+6
2024-06-17refactor: improve code quatity (#604)sigoden-9/+6
2024-06-14chore: clippy and format (#600)sigoden-7/+0
2024-06-11fix: infinite loop of function calls on poor LLM (#585)sigoden-0/+3
2024-06-11refactor: rename `function_matcher` to `selected_functions` (#583)sigoden-3/+3
2024-06-11feat: add config `dangerously_functions` (#582)sigoden-22/+9
2024-06-11feat: support bot (#579)sigoden-80/+70
* feat: support bots * refactor with RoleLike * improve exiting session * make bot works with rag * refactor repl assert state * add bot banner * repl complete bots according bots.txt * fix on windows * remove threadpool executing function callings * adjust repl left_prompt * move bot config to global config.yaml * `.bot` throw err if funciton callings is not configured
2024-06-06refactor: warning model or client don't support function calling (#572)sigoden-2/+1
2024-06-06refactor: global IS_STDOUT_TERMINAL (#571)sigoden-3/+2
2024-05-30chore: fix typossigoden-2/+2
2024-05-22refactor: rename `function_filter` to `function_matcher` (#535)sigoden-3/+3
2024-05-21refactor: change prompt for executing tool functions (#529)sigoden-50/+77
* refactor: change prompt for executing tool functions * add AICHAT_FUNCTION_AUTO_EXECUTE to auto confirm
2024-05-20refactor: no export LLM_FUNCTION_DATA, pass json as command arg (#528)sigoden-66/+13
2024-05-19refactor: export LLM_FUNCTION_DATA when calling functions (#524)sigoden-7/+5
2024-05-18feat: support function calling (#514)sigoden-0/+367
* feat: support function calling * fix on Windows OS * implement multi-steps function calling * fix on Windows OS * add error for client not support function calling * refactor message data structure and make claude client supporting function calling * support reuse previous call results * improve error handling for function calling * use prefix `may_` as indicator for `execute` type fucntions