Skip to content

Workspace creation fails with "options.value must be a string" when model secret is resolved from extension config #2197

Description

@serbangeorge-m

Bug description

Creating an agent workspace with a model whose API key is stored via the extension configuration system (e.g. configured through the provider's settings page) fails with:

Error while creating workspace: options.value must be a string

Operating system

macOS

Installation Method

None

Version

next (development version)

Steps to reproduce

Steps to reproduce:

  1. Open Kaiden
  2. Configure an inference provider through its settings page (e.g. Gemini, Anthropic, or OpenAI)
  3. Go to Agent Workspaces and create a new workspace
  4. Select the configured model
  5. Click "Start Workspace"
  6. Error dialog appears: "Error while creating workspace: options.value must be a string"
Image

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions