Skip to content

Conversation

@blinkagent
Copy link
Contributor

@blinkagent blinkagent bot commented Dec 7, 2025

Previously, when a user created a task with a URL-only prompt (e.g., Let's work on https://github.com/coder/coder/issues/21138), the LLM would hallucinate what the URL content might be about - generating names like "Fix GitHub Actions workflow issue" when the actual issue was unrelated.

Add examples to the task naming system prompt showing expected behavior for GitHub issue and PR URLs, teaching the model to use visible URL parts (repo name, issue/PR number) rather than guessing content.

@blinkagent blinkagent bot force-pushed the blink/improve-taskname-prompt branch from 4c86005 to 61f951f Compare December 7, 2025 22:40
When a user creates a task with a URL-only prompt (e.g., "Work on
#1234"), the LLM would
previously hallucinate what the URL content might be about.

This change adds examples to the system prompt showing expected
behavior for GitHub issue and PR URLs, relying on examples rather
than explicit instructions.
@blinkagent blinkagent bot force-pushed the blink/improve-taskname-prompt branch from 61f951f to dc68e5e Compare December 7, 2025 22:41
@bpmct
Copy link
Member

bpmct commented Dec 7, 2025

context:

Screenshot 2025-12-07 at 4 52 36 PM

Copy link
Contributor

@DanielleMaywood DanielleMaywood left a comment

Choose a reason for hiding this comment

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

I'm happy with this.

@bpmct bpmct merged commit 4844c97 into main Dec 9, 2025
32 checks passed
@bpmct bpmct deleted the blink/improve-taskname-prompt branch December 9, 2025 15:10
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants