discourse-ai/spec/lib/completions/endpoints
Sam a223d18f1a
FIX: more robust function call support (#581)
For quite a few weeks now, some times, when running function calls
on Anthropic we would get a "stray" - "calls" line.

This has been enormously frustrating!

I have been unable to find the source of the bug so instead decoupled
the implementation and create a very clear "function call normalizer"

This new class is extensively tested and guards against the type of
edge cases we saw pre-normalizer.

This also simplifies the implementation of "endpoint" which no longer
needs to handle all this complex logic.
2024-04-19 06:54:54 +10:00
..
anthropic_spec.rb FEATURE: add Claude 3 Haiku bot support (#552) 2024-04-03 16:06:27 +11:00
aws_bedrock_spec.rb FEATURE: add Claude 3 sonnet/haiku support for Amazon Bedrock (#534) 2024-03-19 06:48:46 +11:00
cohere_spec.rb FEATURE: Cohere Command R support (#558) 2024-04-11 07:24:17 +10:00
endpoint_compliance.rb FIX: more robust function call support (#581) 2024-04-19 06:54:54 +10:00
gemini_spec.rb FEATURE: Add GitHub Helper AI Bot persona and tools (#513) 2024-03-08 06:37:23 +11:00
hugging_face_spec.rb DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00
open_ai_spec.rb FEATURE: GPT-4 turbo vision support (#575) 2024-04-11 16:22:59 +10:00
vllm_spec.rb DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00