Skip to content

Add Requesty provider to the CLI#624

Open
Thibaultjaigu wants to merge 1 commit into
tryAGI:mainfrom
Thibaultjaigu:add-requesty-provider
Open

Add Requesty provider to the CLI#624
Thibaultjaigu wants to merge 1 commit into
tryAGI:mainfrom
Thibaultjaigu:add-requesty-provider

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

Adds Requesty (https://requesty.ai) as a provider option to the CLI (src/Cli), mirroring the existing Provider.OpenRouter.

  • src/Cli/src/Models/Provider.cs: new Requesty enum value.
  • src/Cli/src/Helpers.cs: base-URL switch arm (https://router.requesty.ai/v1) and API-key switch arm (REQUESTY_API_KEY).

Requesty is OpenAI-compatible (Authorization: Bearer, provider/model naming), so it works through the existing OpenAI client path. --provider requesty resolves via the existing case-insensitive enum parsing (Option<Provider>), so no extra string mapping was needed. The core SDK and the integration tests are untouched. API keys: https://app.requesty.ai/api-keys

I work at Requesty. This mirrors the existing OpenRouter provider as closely as possible. Happy to adjust or close it if it's not a fit.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants