Skip to content

OPENCODE executor fails to resolve modelID (provider.models[modelID] undefined) with Azure OpenAI #2054

@yafei19

Description

@yafei19

Description

I’m trying to use OPENCODE executor in vibe-kanban v0.0.152 with Azure OpenAI, but tasks always fail because the executor cannot resolve modelID.

The error consistently points to provider.models[modelID] being undefined, even though the provider is correctly detected as azure.

This makes OPENCODE unusable with Azure deployments.


Environment

  • vibe-kanban: v0.0.152
  • OS: Windows 11
  • Node: via npx -y vibe-kanban
  • Executor: OPENCODE
  • Provider: Azure OpenAI
  • Model / Deployment name: gpt-5.1 (custom Azure deployment)

What works

  • provider is correctly detected as azure
  • Azure credentials are valid
  • Azure OpenAI endpoint, API key, and deployment are correct
  • OPENCODE CLI itself launches successfully

UI shows:

Image

Config shows:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions