Skip to content

Widen RunContext.messages to list[Any] for adapter flexibility#435

Merged
NISH1001 merged 1 commit into
developfrom
bugfix/run-context-messages
Apr 27, 2026
Merged

Widen RunContext.messages to list[Any] for adapter flexibility#435
NISH1001 merged 1 commit into
developfrom
bugfix/run-context-messages

Conversation

@NISH1001
Copy link
Copy Markdown
Collaborator

Changes RunContext.messages from list[dict[str, Any]] | None to list[Any] | None so non-AKD-native adapters (pydantic-ai, langchain) can carry native message types directly instead of stashing under extras. All tests passing.

Lets non-AKD-native adapters (pydantic-ai, langchain) carry their own
message types in the field instead of stashing them under extras.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@NISH1001 NISH1001 deployed to integration April 27, 2026 18:14 — with GitHub Actions Active
@NISH1001 NISH1001 merged commit c65a9a6 into develop Apr 27, 2026
1 check passed
@NISH1001 NISH1001 deleted the bugfix/run-context-messages branch April 27, 2026 18:14
@github-actions
Copy link
Copy Markdown

✅ Tests passed

📊 Test Results

  • Passed: 428
  • Failed: 0
  • Skipped: 34
  • Warnings: 158
  • Coverage: 73%

Branch: bugfix/run-context-messages
PR: #435
Commit: 5e29133

📋 Full coverage report and logs are available in the workflow run.

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