Skip to content

[Feature]: Allow custom model configuration for Sisyphus-Junior agent #623

@y1sifer

Description

@y1sifer

Prerequisites

  • I have searched existing issues and discussions to avoid duplicates
  • This feature request is specific to oh-my-opencode (not OpenCode core)
  • I have read the documentation

Problem Description

Problem
The Sisyphus-Junior agent's model is hardcoded to anthropic/claude-sonnet-4-5 and cannot be customized through oh-my-opencode.json configuration.
Current Behavior
In src/plugin-handlers/config-handler.ts:

agentConfig["Sisyphus-Junior"] = createSisyphusJuniorAgent({
  model: "anthropic/claude-sonnet-4-5",
  temperature: 0.1,
});

Additionally, Sisyphus-Junior is not included in OverridableAgentNameSchema, so it cannot be overridden like other agents.

Proposed Solution

Users should be able to customize Sisyphus-Junior in their configuration file:

{
  agents: {
    Sisyphus-Junior: {
      model: anthropic/claude-opus-4-5,
      temperature: 0.2
    }
  }
}

Alternatives Considered

No response

Doctor Output (Optional)

Additional Context

No response

Feature Type

New Agent

Contribution

  • I'm willing to submit a PR for this feature
  • I can help with testing
  • I can help with documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions