Skip to content

Conversation

@xiaoiver
Copy link

@xiaoiver xiaoiver commented Sep 9, 2025

Background

Usage costs will be included in response like gpt-image-1. Therefore, I believe we can return the raw response, just like SpeechModelV2 does.

Summary

Manual Verification

Tasks

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • Formatting issues have been fixed (run pnpm prettier-fix in the project root)
  • I have reviewed this pull request (self-review)

Future Work

Related Issues

Fixes #6275

@gr2m gr2m added v5.1 and removed v5.1 labels Sep 10, 2025
@xiaoiver
Copy link
Author

Hold on, I'll go modify the test cases.

@gr2m gr2m added this to the v5.1 milestone Sep 15, 2025
@gr2m gr2m removed the v5.1 label Sep 15, 2025
@gr2m gr2m self-assigned this Sep 15, 2025
@aayush-kapoor
Copy link
Contributor

aayush-kapoor commented Dec 5, 2025

closing this for now since we are now on v3 provider spec. Also for usage costs, refer PR #10128

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Image generation response missing usage information

3 participants