Repository navigation
OpenAI preset이 실제로 통과하도록 parameter style을 더했다 (ADR-0086) - #146
Merged
Merged
Conversation
OpenAI preset으로는 어떤 model도 setup을 통과하지 못했다. 실제 api.openai.com 요청으로 원인을 나눠 확인했다. - 추론 model(gpt-5.5, gpt-6-luna)은 max_tokens와 temperature 0을 거절한다 - preset의 json_schema는 strict 모드가 모든 schema node에 type을 요구해서 Step arguments에서 모든 model이 400으로 거절된다 - 별칭 model은 응답 model이 날짜 붙은 snapshot이라 identity 검사에서 닫힌다 --parameter-style compatible|openai(XGEN_OPENAI_PARAMETER_STYLE, profile parameterStyle)를 더했다. openai는 출력 한도를 max_completion_tokens로 보내고 temperature를 생략한다. model ID로 추측하거나 거절 뒤 자동 전환하지 않는다. OpenAI preset은 json_object와 openai style을 쓴다. compatible은 digest descriptor와 profile 파일에 필드를 쓰지 않으므로 기존 profile과 Run의 digest, 파일 바이트가 그대로다. 별칭 identity 검사는 완화하지 않고 snapshot ID 선택을 문서에 안내했다. 실제 OpenAI 검증(격리된 config/state, 키 미저장): - setup PASS: gpt-6-luna, gpt-5.5-2026-04-23, gpt-4.1-2025-04-14 - run 파일 수정 3/3, 테스트 생성+README 수정 2/2(pytest 4 passed) - 출력 한도 1024에서 잘린 call 0 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.
무엇을
--parameter-style compatible|openai옵션을 더했다(XGEN_OPENAI_PARAMETER_STYLE, profileparameterStyle).openai는 출력 한도를max_completion_tokens로 보내고temperature를 생략한다.json_object+openaistyle로 바꿨다.model setup출력에parameters:,model list에parameter_style=을 표시한다.왜
OpenAI preset으로는 어떤 model도 setup을 통과하지 못했다. 실제 api.openai.com 요청으로 원인을 나눠 확인했다.
max_tokens·temperature: 0거절openaistylejson_schema가 모든 schema node에type요구, Steparguments에서 400json_object로model이 날짜 붙은 snapshotgpt-5.5등)기존
--thinking enabled는thinking객체를 보내서 OpenAI가Unknown parameter로 거절하므로 대안이 되지 않는다. model ID나 hostname으로 추측하지 않고, 거절 뒤 자동 전환하지 않는다(ADR-0042/0043 원칙).호환성
compatible(기본)은 digest descriptor와 profile 파일에 필드를 쓰지 않는다. 기존 profile·Run의 digest와 파일 바이트가 그대로다(기본 digest 상수 테스트 유지).StoredProfile은deny_unknown_fields라서openaiprofile이 든 파일은 이전 binary가 읽지 못한다.--parameter-style compatible을 명시한다.검증
cargo test --workspace --locked773 passed / 0 failed / 4 ignored, clippy-D warnings, fmt,check-rc3-public-docs.sh--provider openaisetup PASS: gpt-6-luna, gpt-5.5-2026-04-23, gpt-4.1-2025-04-14. 별칭 gpt-5.5는chat_completions_incompatible(위 3번)xgen run파일 수정 3/3(4~14초), 테스트 파일 생성+README 수정 2/2(pytest 4 passed), 출력 한도 1024에서 잘린 call 0후속(이 PR 범위 아님)
request_rejected·chat_completions_incompatible이 code 한 줄뿐이라 원인을 알 수 없다. provider 거절 이유와 응답 model ID를 보여 주는 작업을 따로 한다.🤖 Generated with Claude Code