Skip to content

docs: add Requesty as an OpenAI-compatible provider example#617

Open
Thibaultjaigu wants to merge 1 commit into
feyninc:mainfrom
Thibaultjaigu:add-requesty-example
Open

docs: add Requesty as an OpenAI-compatible provider example#617
Thibaultjaigu wants to merge 1 commit into
feyninc:mainfrom
Thibaultjaigu:add-requesty-example

Conversation

@Thibaultjaigu

@Thibaultjaigu Thibaultjaigu commented Jun 22, 2026

Copy link
Copy Markdown

This adds a Requesty example beside the existing OpenRouter one for OpenAIGenie in the README.

Requesty is an OpenAI-compatible LLM gateway, so it works with OpenAIGenie by setting base_url="https://router.requesty.ai/v1" and using provider/model naming (e.g. openai/gpt-4o-mini). The new snippet mirrors the existing OpenRouter example as closely as possible.

I verified a live chat completion against https://router.requesty.ai/v1/chat/completions with openai/gpt-4o-mini (HTTP 200, real completion returned), which is exactly the base_url + model combination shown in the example.

Links:

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

Summary by CodeRabbit

  • Documentation
    • Extended documentation with an example demonstrating OpenAIGenie configuration for the gpt-4o-mini model using Requesty integration.

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 78c1b401-1fb9-4fdf-9e00-a79f8ff72441

📥 Commits

Reviewing files that changed from the base of the PR and between f760ed7 and 88784e5.

📒 Files selected for processing (1)
  • README.md

📝 Walkthrough

Walkthrough

A new Python code snippet is added to README.md demonstrating OpenAIGenie configured for the gpt-4o-mini model via Requesty, including the Requesty base_url and api_key. The snippet is placed after the existing OpenRouter example in the LLM provider integrations section.

Changes

README Documentation Update

Layer / File(s) Summary
Requesty OpenAIGenie code example
README.md
Adds a code block after the OpenRouter example showing OpenAIGenie instantiated with Requesty's base_url and api_key for the gpt-4o-mini model.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A bunny hops through docs so bright,
Adding Requesty to the light.
gpt-4o-mini joins the crew,
With base URLs fresh and new.
🐇✨ One snippet more, the README's right!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main change: adding documentation for Requesty as an OpenAI-compatible provider example in the README.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the README.md file to include an example of using the "OpenAIGenie" class to interact with the "gpt-4o-mini" model via the Requesty router. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

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.

1 participant