Skip to content

feat(minimax-code): effort xhigh, permission full, 모델 한도·thinking 정의 - #154

Merged
dlddu merged 1 commit into
mainfrom
minimax-code-effort-xhigh
Oct 22, 2026
Merged

dlddu merged 1 commit into
mainfrom
minimax-code-effort-xhigh

Conversation

@dlddu

@dlddu dlddu commented Oct 22, 2026

Copy link
Copy Markdown
Owner

요약

minimax-code 실행 파라미터를 코딩 성능 쪽으로 조정합니다 (AC-G2).

항목 이전 이후
권한 --permission smart (무인 실행에서 셸 명령 대부분 거부) --permission full
추론 강도 미지정 (budget_tokens: 8192 고정 thinking) --effort xhigh → output_config.effort: xhigh, thinking: adaptive
응답 한도 max_tokens: 16384 (custom 모델 fallback) max_tokens: 128000
컨텍스트 200k (fallback) 512k

변경

  • data-plane/cmd/agent/minimax_code.go
    • argv에 --effort xhigh, 권한 full
    • 관리형 설정의 모델 정의를 mcode 내장 M3 계열 정의와 맞춤: effortOptions(없으면 mcode가 --effort를 거부하고 실행 자체가 실패), thinking_config: forced_on, variants
    • limit {context: 512000, output: 128000}은 MiniMax-M3.1-Flash에만. 한도를 모르는 모델은 mcode fallback을 유지
  • 테스트: argv 기대값 갱신, TestMiniMaxManagedModelDefinition 추가 (mutation 확인: limit 제거·xhigh 제거 시 실패)
  • 문서: PRD AC-G2, data-plane/README.md

검증

  • 캡처 서버(가짜 상류)로 mcode 0.6.12의 실제 요청 확인
    • 이전 설정 + --effort xhigh → does not support reasoning effort selection 로 실행 실패
    • 새 설정 → /v1/messages 에 max_tokens: 128000, thinking: {type: adaptive}, output_config: {effort: xhigh}
  • go test ./... (data-plane) 통과, comment policy / fidelity allowlist / scenario mapping 게이트 통과
  • 프리뷰에서 실제 MiniMax API로 확인 예정

Generated by Claude Code

…(AC-G2)

- mcode exec 에 --effort xhigh 를 고정하고 권한을 smart → full 로 바꾼다.
  smart 는 사람 없이 대부분의 셸 명령을 거부해 무인 실행 turn 을 실패시킨다.
- 관리형 설정의 모델 정의를 mcode 내장 M3 계열 정의에 맞춘다: effortOptions
  (없으면 mcode 가 --effort 를 거부), thinking_config forced_on, variants,
  그리고 MiniMax-M3.1-Flash 의 limit 512k/128k (없으면 max_tokens 16384).
- 캡처 서버로 확인한 실제 요청: max_tokens 128000, thinking adaptive,
  output_config.effort xhigh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R1VrPpZUiPjHiu3NHL7jrA
@dlddu dlddu added the deploy/preview Deploy this PR to an isolated preview environment (flux-cd-apps session-platform-preview) label Oct 22, 2026 — with Claude
@dlddu
dlddu merged commit 186c242 into main Oct 22, 2026
15 checks passed
@dlddu
dlddu deleted the minimax-code-effort-xhigh branch October 22, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy/preview Deploy this PR to an isolated preview environment (flux-cd-apps session-platform-preview)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants