Skip to content

Conversation

@superconductor-for-github
Copy link
Contributor

Summary

Reviewed the latest merged PRs and identified gaps in tests and documentation. This PR adds the missing pieces, organized as one commit per original PR:

PR #301 — Azure OpenAI Provider

  • New docs/providers/azure.md — Dedicated Azure provider documentation page (was the only provider without one)
  • Sidebar navigation — Added Azure OpenAI to the providers section in VitePress config
  • docs/providers.md — Listed Azure as a first-class provider in the chooser guide
  • docs/providers/open_ai.md — Updated Azure section to link to the new dedicated page instead of inlining outdated configuration

PR #290 — Developer Role Messages

  • docs/actions/messages.md — Added developer role to the message roles list and updated the note about dropped roles to mention both system and developer

PR #299 — Anthropic Streaming Fix

PR #278 — Universal Tools & MCP Support

  • test/providers/concerns/tool_choice_clearing_test.rb — Added unit tests for the ToolChoiceClearing concern (62 lines of code, 0 lines of tests shipped). Covers all branches: nil tool_choice, required mode, specific tool forcing, auto mode, and NotImplementedError for abstract methods

PR #274 — Improved Usage Tracking

  • test/providers/common/usage_test.rb — Added tests for Usage#+ (addition) and multi-turn accumulation: basic addition, nil optional fields, nil operand, and chained three-turn accumulation

Test plan

  • All 31 new/modified tests pass (84 assertions, 0 failures)
  • bin/test test/providers/concerns/tool_choice_clearing_test.rb test/providers/anthropic/streaming_convenience_events_test.rb test/providers/common/usage_test.rb — green

cc @TheRealNeil

🤖 Generated with Claude Code

TonsOfFun and others added 5 commits February 13, 2026 00:57
PR #301 added first-class Azure OpenAI provider support but shipped
without a dedicated documentation page. This adds:

- docs/providers/azure.md with full configuration, usage, and
  parameter reference
- Azure OpenAI entry in sidebar navigation
- Azure listed as first-class provider in providers overview
- OpenAI docs updated to link to dedicated Azure page instead of
  inlining outdated configuration

cc @TheRealNeil

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR #290 added support for dropping OpenAI's "developer" role messages
in common format (same as "system" messages), but the messages
documentation did not mention this role. This updates:

- Message roles list to include developer role
- Note about system messages to also mention developer role

cc @TheRealNeil

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR #299 added handling for higher-level gem convenience events
(:text, :input_json, :citation, :thinking, :signature) but only
tested :thinking and :signature. This adds coverage for the
remaining three event types (:text, :input_json, :citation) to
ensure they are all handled as no-ops without raising.

cc @TheRealNeil

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR #278 (Universal Tools & MCP Support) introduced the
ToolChoiceClearing concern (62 lines) for preventing infinite
tool-calling loops, but shipped without unit tests. This adds
tests covering:

- No-op when tool_choice is nil
- Clearing when required mode and tools were used
- Clearing when specific tool forced and that tool was used
- Preserving when different/no tools were used
- Preserving when tool_choice is auto
- NotImplementedError for unimplemented abstract methods

cc @TheRealNeil

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR #274 (Improved Usage Tracking) introduced Usage#+ for combining
statistics across multi-turn tool-calling conversations, but shipped
without tests for this feature. This adds:

- Basic addition combining two usage objects
- Addition with nil optional fields
- Addition with nil operand returns self
- Chained addition simulating multi-turn accumulation

cc @TheRealNeil

Co-Authored-By: Claude Opus 4.6 <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