Skip to content

Support image input modalities for custom providers - #856

Open
importantitemzl-tech wants to merge 1 commit into
yc-software:mainfrom
importantitemzl-tech:fix/custom-provider-input-modalities
Open

Support image input modalities for custom providers#856
importantitemzl-tech wants to merge 1 commit into
yc-software:mainfrom
importantitemzl-tech:fix/custom-provider-input-modalities

Conversation

@importantitemzl-tech

@importantitemzl-tech importantitemzl-tech commented Aug 30, 2026

Copy link
Copy Markdown

Summary

  • preserve declared image input modalities for custom provider models in Pi and OpenCode
  • expose modalities in the Admin custom-provider editor without dropping model pricing
  • normalize legacy and malformed persisted modality values safely during provider hydration

Verification

  • custom provider, Pi image request, and OpenCode tests
  • Admin model-field round-trip tests
  • TypeScript checks and ESLint
  • Prettier and diff checks

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

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