Skip to content

add --title flag to opencode run - #3507

Merged
rekram1-node merged 1 commit into
devfrom
add-title-flag
Oct 28, 2025
Merged

rekram1-node merged 1 commit into
devfrom
add-title-flag

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Oct 28, 2025 •

Copy link
Copy Markdown
Collaborator

fixes: #1237

--title allows you to set the title of the session when doing opencode run it defaults to a truncated version of your prompt if no argument provided

This argument is optional and it does not change existing behavior

@rekram1-node rekram1-node changed the title add --title flag to opencode run add --title flag to opencode run Oct 28, 2025
@rekram1-node
rekram1-node merged commit 37380e1 into dev Oct 28, 2025
@thdxr
thdxr deleted the add-title-flag branch February 1, 2026 03:31
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
jeffreysijuntan added a commit to rllm-org/rllm that referenced this pull request Jul 24, 2026
opencode's `run` fires a separate async LLM request to generate a session
title. During RL training that title is never read (session state lives only
in the ephemeral sandbox DB; trajectories come from gateway traces), so the
request is pure waste and forces the gateway to fork an extra lineage slot for
its divergent prefix.

Pass a fixed `--title rllm-training` to `opencode run` so opencode uses that
value instead of making the call (opencode PR anomalyco/opencode#3507). No config
key or env var disables title generation; `--title` is the only lever.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
jeffreysijuntan added a commit to rllm-org/rllm that referenced this pull request Jul 25, 2026
opencode's `run` fires a separate async LLM request to generate a session
title. During RL training that title is never read (session state lives only
in the ephemeral sandbox DB; trajectories come from gateway traces), so the
request is pure waste and forces the gateway to fork an extra lineage slot for
its divergent prefix.

Pass a fixed `--title rllm-training` to `opencode run` so opencode uses that
value instead of making the call (opencode PR anomalyco/opencode#3507). No config
key or env var disables title generation; `--title` is the only lever.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
signalrush pushed a commit to signalrush/rllm that referenced this pull request Jul 25, 2026
opencode's `run` fires a separate async LLM request to generate a session
title. During RL training that title is never read (session state lives only
in the ephemeral sandbox DB; trajectories come from gateway traces), so the
request is pure waste and forces the gateway to fork an extra lineage slot for
its divergent prefix.

Pass a fixed `--title rllm-training` to `opencode run` so opencode uses that
value instead of making the call (opencode PR anomalyco/opencode#3507). No config
key or env var disables title generation; `--title` is the only lever.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
jeffreysijuntan added a commit to rllm-org/rllm that referenced this pull request Jul 27, 2026
opencode's `run` fires a separate async LLM request to generate a session
title. During RL training that title is never read (session state lives only
in the ephemeral sandbox DB; trajectories come from gateway traces), so the
request is pure waste and forces the gateway to fork an extra lineage slot for
its divergent prefix.

Pass a fixed `--title rllm-training` to `opencode run` so opencode uses that
value instead of making the call (opencode PR anomalyco/opencode#3507). No config
key or env var disables title generation; `--title` is the only lever.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

request: ability to disable title generation (opencode run)

1 participant