discourse-ai/lib/completions/dialects
Sam 05d8b021f1
FIX: scrub invalid prompts when truncating (#426)
When you trim a prompt we never want to have a state where there
is a "tool" reply without a corresponding tool call, it makes no
sense

Also

- GPT-4-Turbo is 128k, fix that
- Claude was not preserving username in prompt
- We were throwing away unicode usernames instead of adding to
message
2024-01-16 13:48:00 +11:00
..
chat_gpt.rb FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00
claude.rb FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00
dialect.rb FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00
fake.rb FEATURE: smooth streaming of AI responses on the client (#413) 2024-01-11 15:56:40 +11:00
gemini.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
llama2_classic.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
mixtral.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
orca_style.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00