Closed conan closed 1 year ago
The problem seems to be related to the GET operations in the openai spec that (correctly) does not define a content-type on the requests.
Will need to dig in deeper in the martian code to see where the [nil] value comes from
Fixed in branch spec-validation
Do you want to try it out?
Fix released in v0.8.0
Yes, all working now. Thank you!
We use spec instrumentation to check calls (I use orchestra but it happens with
clojure.spec.test.alpha/instrument
also), and experience failures when getting embeddings. Calls fail inmartian.core/build-instance
, an upgrade to martian 0.1.23 doesn't solve the issue - it could be an upstream problem.The workaround is to disable instrumentation, but that means for the entire codebase, and it's really useful so that would be a shame.
Sorry for the long stacktrace, it looks like the args include a bunch of API info.
The spec error looks like an issue with a
:consumes
parameter, which is supposed to benil?
but appears to be a vector containing nil, as in[nil]