Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add usage/fingerprint metadata to KurtResult for KurtVertexAI adapter #46

Merged
merged 1 commit into from
Jun 26, 2024

Commits on Jun 26, 2024

  1. feat: add usage/fingerprint metadata to KurtResult for `KurtVertexA…

    …I` adapter
    
    This implements the new optional `metadata` field of the `KurtResult` interface to provide the total
    input and output tokens. Note that no system fingerprint is available from Vertex AI's Gemini API,
    so that is omitted here. If it ever becomes available, we can add it.
    
    Note that this commit involves regenerating all the test snapshots because we are now capturing and
    relying on more from the upstream Vertex AI responses.
    jemc committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    843821d View commit details
    Browse the repository at this point in the history