alexrudall / ruby-openai

OpenAI API + Ruby! 🤖❤️ NEW: Assistant Vector Stores
MIT License
2.61k stars 302 forks source link

If being used for Groq, skip OpenAI-Organization header #473

Closed drnic closed 2 weeks ago

drnic commented 1 month ago

I've looked at using groq via langchain -> ruby-openai and was seeing a warning about me not setting OpenAI-Organization. If I run .compact on the headers, the warning seems to go away.

drnic commented 1 month ago

^ is this CI failure something I can fix?

alexrudall commented 1 month ago

@drnic no, I think I broke something. Will try and fix. Thanks for this PR!

alexrudall commented 1 month ago

^ is this CI failure something I can fix?

I may have fixed this, if you push another change let's see

alexrudall commented 2 weeks ago

Thanks again @drnic - released in v7.1