Skip to content

Conversation

@krakenalt
Copy link

@krakenalt krakenalt commented Jan 19, 2026

Relevant issues

Fixes: #19339

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

CI (LiteLLM team)

CI status guideline:

  • 50-55 passing tests: main is stable with minor issues.
  • 45-49 passing tests: acceptable but needs attention
  • <= 40 passing tests: unstable; be careful with your merges and assess the risk.
  • Branch creation CI run
    Link:

  • CI run for the last commit
    Link:

  • Merge / cherry-pick CI run
    Links:

Type

🧹 Refactoring
📖 Documentation
✅ Test

Changes

  • Adds Basic Auth support for GigaChat token retrieval via /token using GIGACHAT_USER + GIGACHAT_PASSWORD (with tests).
  • Keeps OAuth flow via GIGACHAT_CREDENTIALS / GIGACHAT_API_KEY, adds base64 credential validation.
  • Introduces litellm/llms/gigachat/common_utils.py (constants, build_url(), exceptions, USER_AGENT).
  • Updates chat transformation (more params, tool/function handling, structured output support, image upload hooks, etc.).
  • Updates file upload path to use the shared URL builder + headers.
  • Updates docs and tests accordingly.

@vercel
Copy link

vercel bot commented Jan 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
litellm Ready Ready Preview, Comment Jan 19, 2026 10:32am

Request Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add Basic Auth for GigaChat provider

1 participant