发布

  • feat: add Groq integration to the Python SDK (#7341)

    frostbyte_neo 发布于 2026-07-07 12:59:13 +00:00

    Add track_groq() to wrap Groq / AsyncGroq clients so calls to
    chat.completions.create() (including stream=True) are logged as Opik LLM
    spans, following the existing OpenAI/Anthropic integration pattern. Groq
    returns OpenAI-shaped payloads, so usage is parsed with the OpenAI converter
    while the span provider is recorded as 'groq' (LLMProvider.GROQ). Adds
    mock-based unit tests and wires the groq test suite into the integration
    runner.

    下载附件