Skip to content

Conversation

@mattapperson
Copy link
Collaborator

Summary

  • Add support for OpenRouter plugins (file_parser, moderation, web)
  • Add provider routing and configuration options
  • Add PDF processing parameters
  • Add data collection parameters
  • Update chat generation and completion models with new features

Changes

This update brings the TypeScript SDK in line with the latest OpenRouter API specification, adding support for:

Plugins

  • File Parser Plugin: Parse and process file uploads
  • Moderation Plugin: Content moderation capabilities
  • Web Plugin: Web search and browsing functionality

Provider Configuration

  • Provider routing and selection
  • Provider-specific parameters
  • Quantization options

Additional Features

  • PDF processing with configurable engines
  • Enhanced video content support (input_video and video_url)
  • Data collection options
  • Max price constraints
  • Sorting options for provider selection

Technical Details

  • Updated OpenAPI specification (.speakeasy/in.openapi.yaml)
  • Generated comprehensive type definitions for new parameters
  • Added 50+ new model files for plugins, providers, and related configurations
  • Updated existing models to support new features

Files Changed

119 files changed with 4,257 additions and 1,546 deletions

@mattapperson mattapperson merged commit 3774de5 into main Nov 18, 2025
2 checks passed
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