Skip to content

feat(core): restore Modal model discovery - #42851

Open
opencode-agent[bot] wants to merge 1 commit into
v2from
modal-model-discovery
Open

feat(core): restore Modal model discovery#42851
opencode-agent[bot] wants to merge 1 commit into
v2from
modal-model-discovery

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • add the missing built-in Modal provider plugin
  • fetch the authenticated workspace model catalog from the Modal proxy /models endpoint
  • replace static template IDs with live workspace deployment IDs while preserving model metadata and applying live capabilities, limits, pricing, compatibility, and reasoning variants
  • refresh the catalog when the Modal connection changes and hide unusable static models when discovery fails

Testing

  • bun test test/plugin/provider-modal.test.ts
  • bun test test/plugin (232 passing)
  • bun typecheck

Requested by: @rekram1-node (Aiden Cline via Slack)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant