mikekelly / AgentK

An autoagentic AGI that is self-evolving and modular.
MIT License
820 stars 126 forks source link

Openrouter integration #3

Open Alexxosipov opened 1 month ago

Alexxosipov commented 1 month ago

Hey, dear creator of the project! It would be nice to add support for openrouter LLMs as it becomes really popular and powerful solution. Also openrouter accepts payments in crypto which I'm using a lot, so it is kinda difficult for me to pay for OpenAI API

mikekelly commented 1 month ago

This should be fairly easy to achieve but I don't have openrouter setup locally at the moment. If you want to have a go at it, it will likely look similar to this PR someone wrote which added support for ollama https://github.com/mikekelly/AgentK/pull/5

bpawnzZ commented 1 week ago

I'm in the same boat. Can we set OpenAI base URL?? OPENAI_API_BASE

if so its is no problem to get Openrouter and LiteLLM working.