-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Your way of adding things to the API is not fully backwards compatible and breaks simple call listing.
E.g. we hit this Yesterday when using v0.6.0
error in vapiClient.Calls.Get: {\"cost\":0,\"type\":\"knowledge-base\",\"model\":{\"model\":\"gemini-1.5-flash\",\"provider\":\"google\"},\"promptTokens\":0,\"completionTokens\":0} cannot be deserialized as a *api.CallCostsItem
And I just updated to v0.6.3 and looking at the code I don't see this type being supported either.
Just change the deserialization code to ignore unknown types
SoleimanyBen and Hades32
Metadata
Metadata
Assignees
Labels
No labels