llama-stack-mirror/llama_stack/providers/remote/inference
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
..
anthropic feat(providers): Groq now uses LiteLLM openai-compat (#1303) 2025-02-27 13:16:50 -08:00
bedrock Get fireworks provider to 100% on OpenAI API verification 2025-04-13 13:39:56 -04:00
cerebras Get fireworks provider to 100% on OpenAI API verification 2025-04-13 13:39:56 -04:00
cerebras_openai_compat test: verification on provider's OAI endpoints (#1893) 2025-04-07 23:06:28 -07:00
databricks Get fireworks provider to 100% on OpenAI API verification 2025-04-13 13:39:56 -04:00
fireworks Get fireworks provider to 100% on OpenAI API verification 2025-04-13 13:39:56 -04:00
fireworks_openai_compat test: verification on provider's OAI endpoints (#1893) 2025-04-07 23:06:28 -07:00
gemini feat(providers): Groq now uses LiteLLM openai-compat (#1303) 2025-02-27 13:16:50 -08:00
groq Improve groq OpenAI API compatibility 2025-04-13 13:41:52 -04:00
groq_openai_compat test: verification on provider's OAI endpoints (#1893) 2025-04-07 23:06:28 -07:00
nvidia fix: OpenAI API - together.ai extra usage chunks 2025-04-13 13:39:56 -04:00
ollama fix: OpenAI API - together.ai extra usage chunks 2025-04-13 13:39:56 -04:00
openai feat(providers): Groq now uses LiteLLM openai-compat (#1303) 2025-02-27 13:16:50 -08:00
passthrough fix: OpenAI API - together.ai extra usage chunks 2025-04-13 13:39:56 -04:00
runpod Get fireworks provider to 100% on OpenAI API verification 2025-04-13 13:39:56 -04:00
sambanova Get fireworks provider to 100% on OpenAI API verification 2025-04-13 13:39:56 -04:00
sambanova_openai_compat test: verification on provider's OAI endpoints (#1893) 2025-04-07 23:06:28 -07:00
tgi Get fireworks provider to 100% on OpenAI API verification 2025-04-13 13:39:56 -04:00
together fix: OpenAI API - together.ai extra usage chunks 2025-04-13 13:39:56 -04:00
together_openai_compat test: verification on provider's OAI endpoints (#1893) 2025-04-07 23:06:28 -07:00
vllm fix: OpenAI API - together.ai extra usage chunks 2025-04-13 13:39:56 -04:00
__init__.py impls -> inline, adapters -> remote (#381) 2024-11-06 14:54:05 -08:00