Repository navigation
AI 에이전트: gpt-6 계열에서 턴마다 400 나던 것 고침 (geny-executor 2.67.1) - #19
Merged
Merged
Conversation
운영 채팅 기본값이 OpenAI gpt-6-luna 인데, geny-executor 2.65.6 이 이 모델을
추론 모델로 알아보지 못해 에이전트 턴(도구 포함)을 chat/completions 로 보냈다.
OpenAI 는 추론 모델에 도구를 그 경로로 못 싣게 해서 턴마다 400 이었다
("Function tools with reasoning_effort are not supported ... use /v1/responses").
geny-executor 2.67.1 은 gpt-5 이후 세대를 번호로 알아보고 도구 턴을 Responses
경로로 보낸다. 2.68 부터는 Claude Code 경로가 바뀌므로 2.67 줄에 고정한다.
운영 컨테이너 안에서 실제 gpt-6-luna 로 확인: 2.65.6 은 에이전트 400,
2.67.1 은 tool_use 로 정상, 메신저 답장도 정상.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
무엇이 문제였나
운영 채팅 기본값이 OpenAI
gpt-6-luna로 바뀐 뒤 AI 에이전트 턴이 전부 실패했습니다. 응시자 화면에는 "AI 처리 중 오류가 났습니다"가 떴고, 운영 로그는 이렇습니다.원인은 geny-executor 2.65.6 입니다. 이 판은 추론 모델을
o1·o3·o4·gpt-5접두어로만 알아봅니다. 그래서gpt-6-luna의 도구 턴을 Responses 대신 chat/completions 로 보냈습니다.고친 것
reasoning_effort: none으로 한 번 다시 보냅니다.requirements.lock은 2.67.1 로 바꿨습니다.requirements.txt는>=2.67.1,<2.68로 묶었습니다(2.68 부터는 Claude Code 경로가 바뀝니다).claude_code.py와 의존성 목록은 그대로입니다.확인
운영 api 컨테이너 안의 임시 경로에 판을 따로 깔고, 운영과 같은 공급자(gpt-6-luna) 설정으로 비교했습니다.
tool_use정상geny-executor 시험: llm_client 와 라우팅 507건 통과(2.67 줄). 2.79.1 브랜치에서는 unit 과 contract 4,610건이 통과했습니다.
🤖 Generated with Claude Code