Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is so fun!

Could you make it compatible with openrouter please? I see you use the openai binding that allows you to specify a different base_url so that would work out of the box and integrates well with the .env

``` from openai import OpenAI client = OpenAI( base_url="https://openrouter.ai/api/v1", api_key="<OPENROUTER_API_KEY>", ) ```



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: