Skip to content

fix(agent): review結果に resolvedModel を明示記録する (#233) - #234

Merged
rebuildup merged 1 commit into
release/rex-remotefrom
233
Nov 23, 2026
Merged

rebuildup merged 1 commit into
release/rex-remotefrom
233

Conversation

@rebuildup

Copy link
Copy Markdown
Owner

Summary

  • agy 1.5.14 の --output-format json / stream-json 双方に実効モデル ID が含まれないことを実機確認(envelope keys: conversation_id, status, response, duration_seconds, num_turns, structured_output, json_schema, usage)
  • AgyReviewResult.resolvedModel を追加。envelope が resolved_model/resolvedModel/model_id/modelId/model を返した場合のみ記録し、現行では null を明示。model(要求値)との混同を回避
  • model は requested 値のまま変更なし

Test plan

  • bun test script/agent.agy-review.test.ts — 34 pass(envelope モデル報告時の記録 + 未報告時 null の2件)
  • bunx tsc --noEmit clean、./script/test ./script/test-workflow ./script/check-secrets pass

Closes #233 when landed.

Generated with Devin

agy 1.5.14 does not report the effective model in either json or
stream-json output, so `model` (the requested --model value) cannot
identify what actually answered. Add resolvedModel populated only from
envelope model keys when a future CLI exposes them; null otherwise —
never guessed.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 7477f18 and 703a019.

Files selected for processing: 2

  • script/agent.agy-review.test.ts
  • script/agent/agy-review.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@rebuildup
rebuildup merged commit fbc104e into release/rex-remote Nov 23, 2026
4 checks passed
@rebuildup
rebuildup deleted the 233 branch November 23, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant