Skip to content

Conversation

bdougie
Copy link
Collaborator

@bdougie bdougie commented Aug 22, 2025

Description

[ What changed? Feel free to be brief. ]

Improvements for the open router docs

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-general-review or @continue-detailed-review

Checklist

  • I've read the contributing guide
  • The relevant docs, if any, have been updated or created
  • The relevant tests, if any, have been updated or created

Screen recording or screenshot

[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]

Tests

[ What tests were added or updated to ensure the changes work as expected? ]
Broken links are fixed on this PR #7339


Summary by cubic

Updates OpenRouter docs to use config.ts (TypeScript), show how to add custom models, and route requests to a specific provider via requestOptions.extraBodyProperties.provider.
Clarifies tool support (auto-detected), updates capabilities syntax to booleans (tools/image_input), and explains the system message tools fallback for models without native tool calling.

@bdougie bdougie requested a review from a team as a code owner August 22, 2025 16:05
@bdougie bdougie requested review from tomasz-stefaniak and removed request for a team August 22, 2025 16:05
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Aug 22, 2025
@bdougie bdougie marked this pull request as draft August 22, 2025 16:06
Copy link

AI Code Review

AI review completed but failed to parse output

No specific line comments generated.


💡 To request a new detailed review, comment @continue-detailed-review

Copy link

⚠️ AI review completed but no review output was generated. Check the action logs for details.


💡 To request a new review, comment @continue-general-review

Copy link

AI Code Review

AI review completed but failed to parse output

No specific line comments generated.


💡 To request a new detailed review, comment @continue-detailed-review

Copy link

⚠️ AI review completed but no review output was generated. Check the action logs for details.


💡 To request a new review, comment @continue-general-review

To utilize features such as provider preferences or model routing configuration, include these parameters inside the `models[].requestsOptions.extraBodyProperties` field of your plugin config.

For example, to prevent extra long prompts from being compressed, you can explicitly turn off the feature like so:
For example, to route requests to a specific provider, you can use the `provider` field like so:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure this is valid config, does open router actually support this provider extra body property?
The transforms tip is a useful openrouter-specific tip

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch. This was me and the model guessing. But I putting the transforms back now.

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Aug 22, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 27, 2025
@RomneyDa RomneyDa merged commit 795e247 into main Aug 27, 2025
67 of 69 checks passed
@RomneyDa RomneyDa deleted the bdougie/con-3096 branch August 27, 2025 17:45
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Aug 27, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2025
@sestinj
Copy link
Contributor

sestinj commented Sep 1, 2025

🎉 This PR is included in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Sep 3, 2025

🎉 This PR is included in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm This PR has been approved by a maintainer released size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants