[AI Run] 자연어 요청과 추가 질문 화면 연동 - #230
Draft
hywznn wants to merge 3 commits into
Draft
Conversation
8 tasks
검토 URL에 aiRunId를 남기고, 화면 이동 상태가 사라진 경우 서버에서 최신 실행 결과를 다시 조회합니다.
Member
|
Contributor
Author
|
힌트는 사실 인 구조고 필요 없다고 봐도될것 같습니다 intent의 힘을 빌려야죠 거기선 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜 필요한가요?
업무 생성 화면은 자연어 입력 UI가 있지만 기존에는 정적 검토 화면으로 이동할 뿐 Server에 분석을 요청하지 않았습니다.
Refs #229
Depends on fowoco/server#82
Depends on fowoco/ai#6
무엇이 바뀌나요?
POST /api/v1/ai-runs로 발화문을 전송합니다.체류연장 준비, EXPIRY_RENEWAL처럼 판정값이 아닌 힌트로 붙입니다.Idempotency-Key를 전달합니다.NEEDS_INFO질문을 표시하고/answers로 답변합니다.REVIEW_REQUIRED후보와 Runtime 실패 상태를 표시합니다.QUEUED/RUNNING상태는 GET API로 다시 조회합니다.aiRunId를 보존해 새로고침 후에도 서버에서 실행 상태를 복구합니다./api요청을127.0.0.1:8080으로 연결합니다.확인 방법
npm test: 66 files, 346 tests passednpm run build: successnpm run lint: success실제 브라우저 검증
/tasks/new/review?aiRunId=...로 이동하고 Runtime 오류 상태를 표시했습니다.병합 전 확인
현재 Server와 AI의 선행 작업이 남아 있어 Draft로 엽니다.