summaryrefslogtreecommitdiffstats
path: root/src/client
AgeCommit message (Collapse)AuthorLines
2024-04-11refactor: improve error mesasge for invalid eventsource content-type (#405)sigoden-0/+8
2024-04-10refactor: adjust client ordersigoden-11/+11
2024-04-11refactor: all clients use openai token counter (#402)sigoden-60/+21
2024-04-10refactor: update openai models list (#400)sigoden-1/+5
2024-04-10 refactor: extract json stream handling (#398)sigoden-101/+80
2024-04-10feat: support cohere (#397)sigoden-0/+245
2024-04-10refactor: update openai models list (#396)sigoden-7/+5
2024-04-10refactor: update gemini/vertexai models list (#395)sigoden-8/+6
2024-04-06refactor: update models (#388)sigoden-12/+13
2024-04-04chore: fix typosigoden-1/+1
2024-04-04refactor: gemini/vertexai blocked by safety (#386)sigoden-10/+18
2024-03-25feat: support customizing gemini safeSettings (#375)sigoden-17/+30
2024-03-25refactor: improve creating config for openai-compatible client (#374)sigoden-4/+9
2024-03-25feat: rename client localai to openai-compatible (#373)sigoden-7/+12
BREAKING CHANGE: rename client localai to openai-compatible
2024-03-25refactor: reorder models (#372)sigoden-18/+16
The capable ones come first.
2024-03-25feat: support moonshot (#369)sigoden-1/+69
2024-03-22refactor: do not automatically convert temperature value (#368)sigoden-17/+26
2024-03-19fix: vertexai model names (#365)sigoden-2/+2
2024-03-19fix: misspelled mistral model name (#359)Chief Marlin-1/+1
2024-03-17feat: update ernie models (#357)sigoden-10/+13
2024-03-15feat: new model claude:claude-3-haiku-20240307 (#353)sigoden-1/+2
2024-03-10feat: allow use of temporary role in a session (#348)sigoden-1/+6
2024-03-07chore: update depssigoden-1/+1
2024-03-06feat: add new ernie models (#340)sigoden-8/+22
2024-03-06refactor: rename model's `max_tokens` to `max_input_tokens` (#339)sigoden-48/+54
BREAKING CHANGE: rename model's `max_tokens` to `max_input_tokens`
2024-03-05feat: support claude-3 (#336)sigoden-5/+56
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
2024-03-04feat: reduce gemini blocking of unsafe content with safetySettings (#334)sigoden-0/+6
2024-03-01chore: improve openai api error handlingsigoden-2/+5
2024-03-01chore: update order of openai modelssigoden-3/+3
2024-02-28feat: support mistral (#324)sigoden-0/+69
2024-02-27feat: support claude (#278)sigoden-0/+172
2024-02-16refactor: update vertexai/gemini/ernie clients (#309)sigoden-177/+270
2024-02-15feat: support vertexai (#308)sigoden-3/+96
2024-02-13feat: update openai/qianwen/gemini models (#306)sigoden-5/+5
2024-02-05fix: do not attempt to deserialize zero byte chunks in ollama stream (#303)Joseph Goulden-0/+3
2024-01-30feat: add `extra_fields` to models of localai/ollama clients (#298)Kelvie Wong-2/+28
* Add an "extra_fields" config to localai models Because there are so many local AIs out there with a bunch of custom parameters you can set, this allows users to send in extra parameters to a local LLM runner, such as, e.g. `instruction_template: Alpaca`, so that Mixtral can take a system prompt. * support ollama --------- Co-authored-by: sigoden <sigoden@gmail.com>
2024-01-30feat: add openai.api_base config (#302)sigoden-6/+3
2024-01-13feat: supports model capabilities (#297)sigoden-103/+159
1. automatically switch to the model that has the necessary capabilities. 2. throw an error if the client does not have a model with the necessary capabilities
2023-12-25refactor: ollam api_base configuration (#285)sigoden-1/+1
2023-12-24feat: custom REPL prompt (#283)sigoden-2/+2
2023-12-20feat: qianwen vision models support embeded images (#277)sigoden-19/+128
2023-12-20feat: support ollama (#276)sigoden-1/+211
2023-12-19feat: support qianwen:qwen-vl-plus (#275)sigoden-48/+121
2023-12-19refactor: adjust order of ernie modelssigoden-2/+2
2023-12-19feat: abandon PaLM2 (#274)sigoden-132/+1
2023-12-19feat: support gemini (#273)sigoden-19/+260
2023-12-16chore: change order of openai modelssigoden-2/+2
2023-11-27feat: add ernie:ernie-bot-8k qianwen:qwen-max (#252)sigoden-15/+16
2023-11-27feat: support vision (#249)sigoden-23/+104
* 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