llama-stack-mirror/llama_stack
Ben Browning 8a1c0a1008 Improve groq OpenAI API compatibility
This doesn't get Groq to 100% on the OpenAI API verification tests,
but it does get it to 88.2% when Llama Stack is in the middle,
compared to the 61.8% results for using an OpenAI client against Groq
directly.

The groq provider doesn't use litellm under the covers in its
openai_chat_completion endpoint, and instead directly uses an
AsyncOpenAI client with some special handling to improve conformance
of responses for response_format usage and tool calling.

Signed-off-by: Ben Browning <bbrownin@redhat.com>
2025-04-13 13:41:52 -04:00
..
apis Improve groq OpenAI API compatibility 2025-04-13 13:41:52 -04:00
cli fix: misleading help text for 'llama stack build' and 'llama stack run' (#1910) 2025-04-12 01:19:11 -07:00
distribution fix: OpenAI API - together.ai extra usage chunks 2025-04-13 13:39:56 -04:00
models Get fireworks provider to 100% on OpenAI API verification 2025-04-13 13:39:56 -04:00
providers Improve groq OpenAI API compatibility 2025-04-13 13:41:52 -04:00
strong_typing chore: more mypy checks (ollama, vllm, ...) (#1777) 2025-04-01 17:12:39 +02:00
templates Improve groq OpenAI API compatibility 2025-04-13 13:41:52 -04:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00
env.py refactor(test): move tools, evals, datasetio, scoring and post training tests (#1401) 2025-03-04 14:53:47 -08:00
log.py chore: Remove style tags from log formatter (#1808) 2025-03-27 10:18:21 -04:00
schema_utils.py fix: dont check protocol compliance for experimental methods 2025-04-12 16:26:32 -07:00