Skip to content

Conversation

@Sameerlite
Copy link
Collaborator

@Sameerlite Sameerlite commented Nov 19, 2025

Title

Add thought signature support to v1/messages api and dummy signature support

Relevant issues

Fixes #16780
Fixes #16830

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
  • I have added a screenshot of my new test passing locally
  • 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

Type

🆕 New Feature
🐛 Bug Fix

Changes

  • Added Vertex AI gemini-3-pro-preview support for cost tracking
  • Added thought signature support in messages api
  • Added dummy thought signature support incase context is switched from models other than gemini 3 to gemini 3 model

Testing

With no signature(uses dummy signature)
image

With messages api(signature in the output)
image

Claude Code:
image

@vercel
Copy link

vercel bot commented Nov 19, 2025

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

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Nov 20, 2025 3:17am

Copy link
Contributor

@ishaan-jaff ishaan-jaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@ishaan-jaff ishaan-jaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@krrishdholakia krrishdholakia merged commit c3143e3 into main Nov 20, 2025
23 of 59 checks passed
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.

[Bug]: Thought Signature not being returned [Feature]: Gemini 3

4 participants