Replies: 2 comments 1 reply
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
you can try with: curl -X POST "https://models.inference.ai.azure.com/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-d '{"messages":[{"role":"user","content":"Translate this hi to Spanish. Autodetect the language."}],"model":"cohere-command-r","temperature":1,"response_format":{"type":"text"}}' You will get: {"error":{"code":"Bad Request","message":"{\"message\":\"invalid type: parameter response_format is of type object but should be of type string.\"}","status":400}} |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Hi everyone,
I am developing a Github plugin for Firebase Genkit to allow developers to use Github Models in their Firebase Generative AI apps.
So far so good, I have been using the Azure AI Inference SDK to implement it. What I have seen is that the same request works using
GPT-4o
orMistral-small
but fails when you have usingCohere Command-r
.The requests are following the Azure AI Inference REST schema.
Here is an example:
Beta Was this translation helpful? Give feedback.
All reactions