Skip to content

refactor: use agentkit session result reducer - #182

Merged
delete-cloud merged 1 commit into
mainfrom
feat/session-result-agentkit-reducer
May 16, 2026
Merged

delete-cloud merged 1 commit into
mainfrom
feat/session-result-agentkit-reducer

Conversation

@delete-cloud

Copy link
Copy Markdown
Owner

Summary

  • Adapt /sessions/{id}/result to use agentkit.result reducers for final answer and verification summary
  • Remove duplicate HTTP-local tool activity summary logic
  • Add a regression test proving the HTTP contract adapts the agentkit reducer without JSON shape changes

Verification

  • uv run pytest tests/agentkit/result tests/agentkit/storage/test_protocols.py tests/ui/test_http_server.py -k "turn_result or artifact_ref or artifact_store or session_result" -q
  • uv run basedpyright --level error src/agentkit/result src/agentkit/storage/protocols.py src/coding_agent/ui/http_server.py tests/agentkit/result tests/agentkit/storage/test_protocols.py tests/ui/test_http_server.py
  • uv run ruff format --check src/agentkit/result src/agentkit/storage/protocols.py src/coding_agent/ui/http_server.py tests/agentkit/result tests/agentkit/storage/test_protocols.py tests/ui/test_http_server.py
  • uv run ruff check src/agentkit/result src/agentkit/storage/protocols.py src/coding_agent/ui/http_server.py tests/agentkit/result tests/agentkit/storage/test_protocols.py tests/ui/test_http_server.py
  • git diff --check

@coderabbitai

coderabbitai Bot commented May 16, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@delete-cloud has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 24 minutes and 8 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: af844df8-7af5-44c7-8720-7a89243ca833

📥 Commits

Reviewing files that changed from the base of the PR and between c211706 and 889ff15.

📒 Files selected for processing (2)
  • coding-agent/src/coding_agent/ui/http_server.py
  • coding-agent/tests/ui/test_http_server.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/session-result-agentkit-reducer

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@delete-cloud
delete-cloud merged commit 04d8aae into main May 16, 2026
1 check passed
@delete-cloud
delete-cloud deleted the feat/session-result-agentkit-reducer branch May 16, 2026 02:59
delete-cloud added a commit that referenced this pull request Jul 5, 2026
Two-round o6n calibration (floors 0.5/0.3 live via sre-infra #182/#183);
restic regression grounds from the KB corpus with zero cross-topic noise
while relevant seeded-topic recall survives. Evidence updated (28 records).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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