GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(task): allow model parameter in task() · Issue #29984 · anomalyco/opencode

feat(task): allow model parameter in task() #29984

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
feat(task): allow model parameter in task()#29984
Copy link
Assignees
kitlangton

Description

@samba-solo
samba-solo
opened on May 30, 2026
Issue body actions

Problem

task() inherits the parent model. Cannot use a cheap model (Qwen3-4B) for INVESTIGADOR while the parent uses DeepSeek V4.

Proposed API

task({
  subagent_type: "investigador",
  prompt: "...",
  model: "qwen3-4b"   // optional, overrides parent model
})

Implementation notes

From packages/opencode/src/tool/task.ts:

  • BaseParameterFields has: description, prompt, subagent_type, task_id, command — no model parameter
  • Model is currently derived from next.model ?? { modelID: msg.info.modelID, providerID: msg.info.providerID }
  • Adding an optional model string parameter that overrides this derivation would enable the use case

References

  • AGENTS.md §Router de documentación → Activar INVESTIGADOR
  • ~/.config/opencode/agents/investigador.md
Reacted by taurasbear

Activity

  1. github-actions
    assigned
    kitlangton
    on May 30, 2026
  2. github-actions commented on Jul 30, 2026

    @github-actions
    github-actionsBot
    on Jul 30, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  3. github-actions
    closed this as not plannedon Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kitlangton
    kitlangton

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.