Files
ecf25fb4e7 refactor(scripts): implement strict 3-step OpenAI workflow for issue assistance (#622)
* Initial plan

* refactor(scripts): implement strict 3-step OpenAI workflow for issue assistance

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* style(scripts): use const/let instead of var for better code clarity

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* fix(scripts): remove classification requirement when requesting files

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* fix(prompts): minimal modifications to issue-assistant.md based on master

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(scripts): simplify issue-ai-response.js logic using loop-based approach

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(scripts): split into 3 explicit queries with different user prompts

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* feat(scripts): add logging for each query response for debugging

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(scripts): consolidate logging into callOpenAI function

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(scripts): simplify query logic with processResponse helper

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* refactor(scripts): remove files.length check and add detailed API error logging

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* docs(prompts): simplify issue-assistant.md system prompt

Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>

* update prompts

* fix

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: New Future <NewFuture@users.noreply.github.com>
2025-12-03 18:35:49 +08:00
..