Skip to content

Ability to edit AI Gateway's Provider options#3

Open
cubic-dev-local[bot] wants to merge 10 commits intoeval-pr-3683-target-1768585110270from
eval-pr-3683-violation-1768585110270
Open

Ability to edit AI Gateway's Provider options#3
cubic-dev-local[bot] wants to merge 10 commits intoeval-pr-3683-target-1768585110270from
eval-pr-3683-violation-1768585110270

Conversation

@cubic-dev-local
Copy link
Copy Markdown

Summary by cubic

Adds editable provider options to ChatVercel so you can control gateway provider routing order. Also enables the optimized JSON extraction path for Anthropic models.

  • New Features
    • provider_options on ChatVercel, forwarded as extra_body.providerOptions in chat requests.
    • Anthropic models now use the optimized JSON-extraction flow (alongside Google and reasoning models).
    • Docs and example updated to show routing order usage.

Written for commit 5208b37. Summary will update automatically on new commits.

---

Based on: browser-use/browser-use#3683

antonvishal and others added 10 commits November 27, 2025 11:33
…ure. Updated logic to append new instructions to the last text part of messages, ensuring XML content is maintained. This improves the integrity of message formatting when adding instructions.
…vation. Updated logic to convert string content to a list format, ensuring XML structure is maintained when appending new instructions. This change improves the integrity of message formatting.
…g of original and modified messages. Updated logic to serialize messages at appropriate stages, enhancing content integrity and preserving message structure for both Google and non-Google models.
…s. Updated logic to serialize messages at the beginning, aligning with OpenAI and Google implementations, and improved handling for non-Google models using native JSON schema support.
…c. Updated the process to maintain original message integrity while modifying content for Google and reasoning models. Enhanced instruction appending to ensure proper formatting and structure across different model types.
…ongside Google and reasoning models. Updated logic to modify messages for JSON extraction, ensuring proper instruction formatting and serialization across all model types.
@github-actions
Copy link
Copy Markdown

Agent Task Evaluation Results: 2/2 (100%)

View detailed results
Task Result Reason
amazon_laptop ✅ Pass Skipped - API key not available (fork PR or missing secret)
browser_use_pip ✅ Pass Skipped - API key not available (fork PR or missing secret)

Check the evaluate-tasks job for detailed task execution logs.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

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