Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Support for OpenRouter #261

Closed
AxDSan opened this issue Apr 19, 2024 · 2 comments · May be fixed by #263
Closed

Implement Support for OpenRouter #261

AxDSan opened this issue Apr 19, 2024 · 2 comments · May be fixed by #263

Comments

@AxDSan
Copy link

AxDSan commented Apr 19, 2024

Describe the feature

SWE-Agent: Adding Support for OpenRouter

Overview

OpenRouter is a platform that provides access to various language models, similar in concept to LiteLM. While it would be beneficial to also integrate LiteLM in the future, this effort primarily focuses on enabling the use of OpenRouter models within SWE-Agent.

OpenRouter Docs

https://openrouter.ai/docs

Motivation

OpenRouter has gained traction as a versatile language model provider, offering access to a diverse range of models from different sources.

Implementation

The main changes reside in the models.py file, located at SWE-agent/sweagent/agent/models.py. This file handles the integration of different language model providers within this project.

Potential Solutions

Implement OpenRouter

@klieret
Copy link
Member

klieret commented Apr 22, 2024

@AxDSan Given your comment in #266, should we close this in favor of #64 ?

@AxDSan
Copy link
Author

AxDSan commented Apr 22, 2024

Totally! ✨

@klieret klieret closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants