Skip to content

Preserve TypeSafe response data - #30

Open
fredheir wants to merge 1 commit into
lm15-dev:mainfrom
fredheir:fix/typesafe-provider-data
Open

fredheir wants to merge 1 commit into
lm15-dev:mainfrom
fredheir:fix/typesafe-provider-data

Conversation

@fredheir

Copy link
Copy Markdown
Contributor

Preserve TypeSafe's raw response in provider_data, including reported usage.cost, while retaining typesafe.answers.

OpenAI, Anthropic and Gemini already retain raw response data; this uses the same existing response/serialization path. No new helper or pricing logic.

Validation: 176 focused tests passed, including reported/zero cost, billing metadata and serialization round trips.

@fredheir
fredheir marked this pull request as ready for review November 13, 2026 12:37

This branch has not been deployed

No deployments
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.

1 participant