Skip to content

fix(k8s): the DeepSeek group keeps its structured reply flag #5571

Closed

Description

@dan-petty

Problem Description

PR #5565 (merged 2026-11-13) moved the line supports_response_schema: true from the model_info of the gateway group deepseek-v4.1-flash-1017 to the new group deepseek-v4.1-flash. A rebase put the new group between that line and the group that owned it. Now the main DeepSeek group, which every chat slot of the Service names, no longer tells LiteLLM that it takes a structured reply (response_format with a JSON schema).

The review of #5568 found this (PR #5565 comment 6867457172).

Proposed Fix

  • Set supports_response_schema: true on deepseek-v4.1-flash-1017 again, and keep it on deepseek-v4.1-flash, so that a call that falls back keeps its response format.
  • Extend test_the_deepseek_group_falls_back_to_the_undated_model_with_the_same_provider_filter so that it asserts the flag on both groups.

Acceptance Criteria

  • The extended test fails on the current main and passes with the fix (devops ci fail-to-pass).
  • After the Argo CD sync, the gateway config holds the flag on both DeepSeek groups.

Related

#5564, #5565

Activity

  1. added
    source/agent
    type/bug
    scope/k8s
    status/new
    value/high
    effort/low
    on Nov 13, 2026
  2. dan-petty commented on Nov 13, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P1-High. The main DeepSeek group loses its structured-reply flag, breaking all chat slots that name it.
    • Related: fix(k8s): the DeepSeek gateway group gets a fallback group #5564, which asks for a different change. Both concern the DeepSeek gateway group, but #5564 adds a fallback group while the candidate restores a lost structured-reply flag on the original group.
  3. added
    priority/p1-high
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 13, 2026
  4. removed
    status/in-review
    on Nov 14, 2026
  5. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-14 02:01 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p1-highscope/k8ssource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions