Skip to content

Use server-side task resolution instead of passing prompt to CLI#14

Merged
johnturcoo merged 2 commits intomainfrom
johnturco/use-server-side-task-resolution
Feb 3, 2026
Merged

Use server-side task resolution instead of passing prompt to CLI#14
johnturcoo merged 2 commits intomainfrom
johnturco/use-server-side-task-resolution

Conversation

@johnturcoo
Copy link
Copy Markdown
Contributor

Remove --prompt to align with the Namespace worker behavior. If we pass --prompt and --task-id to the CLI it results in skipping the server-side resolution and never attach images as context.

@johnturcoo johnturcoo requested a review from acarl005 February 3, 2026 19:05
@acarl005
Copy link
Copy Markdown
Collaborator

acarl005 commented Feb 3, 2026

Great catch. Thanks for fixing. Looks like this got out of sync with the warp-hosted workers. We definitely need to figure out a solution for keeping this stuff in sync.

Comment thread internal/worker/worker.go
"--task-id",
task.ID,
"--prompt",
common.EffectivePromptForTask(task),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this function unused now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, just updated the PR!

@johnturcoo johnturcoo requested a review from acarl005 February 3, 2026 19:12
@johnturcoo johnturcoo merged commit 7be48bf into main Feb 3, 2026
@acarl005 acarl005 deleted the johnturco/use-server-side-task-resolution branch February 9, 2026 18:27
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.

2 participants