Closed d-e-h-i-o closed 10 months ago
Hey @d-e-h-i-o thanks for flagging, this looks like a bug with our service rather than the sdk and we're looking into it for you!
Hey @d-e-h-i-o thanks for flagging, this looks like a bug with our service rather than the sdk and we're looking into it for you!
@billytrend-cohere Thank you! Just to clarify: Downgrading the SDK did solve the problem.
Oh interesting, do you mind trying again with 7.4.0 just to confirm that it wasn't a transient issue? I can't repro at either version but still investigating
Oh interesting, do you mind trying again with 7.4.0 just to confirm that it wasn't a transient issue? I can't repro at either version but still investigating
You're right, it was not related to the upgrade. I upgraded again, and it's working now.
Ok that's great. We are definitely going to improve the error messaging on this though. Thanks for trying out the different scenarios.
Logging should be better as of cohere-ai@7.5.1!
Hi, I just upgraded from
7.2.0
to7.4.0
, and code that was previous working now fails with the following error:This is the code sample:
I can't see from the stack trace which API call caused this (unrelated, I just released that I can get the input token count with
embeddingResponse.meta.billed_units.input_tokens
instead of a separate call :) )