summaryrefslogtreecommitdiffstats
path: root/src/client/message.rs
AgeCommit message (Collapse)AuthorLines
2024-06-23refactor: improve system message handling (#634)sigoden-4/+26
2024-05-18feat: support function calling (#514)sigoden-8/+15
* 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
2024-05-14refactor: config::Input (#503)sigoden-18/+0
2024-04-25refactor: fix typo and some error message (#438)sigoden-1/+1
2024-04-25refactor: rewrite list models of all clients (#436)sigoden-0/+21
2024-04-24refactor: handling of system message (#432)sigoden-0/+15
2024-03-10feat: allow use of temporary role in a session (#348)sigoden-1/+6
2024-03-04feat: compress session automaticlly (#333)sigoden-1/+1
* feat: compress session automaticlly * non-block * update field description * set compress_threshold * update session::clear_messages * able to override session compress_threshold * enable compress_threshold by default * make session compress_threshold optional
2023-11-27feat: support vision (#249)sigoden-4/+65
* feat: support vision * clippy * implement vision * resolve data url to local file * add model openai:gpt-4-vision-preview * use newline to concate embeded text files * set max_tokens for gpt-4-vision-preview
2023-11-02refactor: improve code quanity (#197)sigoden-0/+52
- move model_info.rs/message.rs to clients/ - rename SharedConfig to GlobalConfig