mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
4844c978d8
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. Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com>