docs(specs): document OpenResponses endpoints and fix default port#36
Merged
Conversation
- Add OpenResponses as a documented provider in specs/api-endpoints.md with its own requirement section (R3). The endpoint is implemented and registered in the router but was not previously listed in the spec. - Renumber subsequent sections (Anthropic now R4, system endpoints R5, SDK compatibility R6) to keep the spec linear. - Fix AGENTS.md local dev hints: default port is 8080, not 3000, and the binary needs the `serve` subcommand to actually start the server.
clippy 1.95.0 ships a new `clippy::unnecessary_sort_by` lint that flags the sort_by closure in `draw_model_chart`. Replace the closure with `sort_by_key + std::cmp::Reverse` per the lint's suggestion. Behavior is unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Spec/doc alignment fixes spotted during routine maintenance (
specs/maintenance.mdR5, R6):specs/api-endpoints.md: add OpenResponses as a first-class provider (the endpoint/openresponses/v1/responsesis already implemented and registered in the router but was not listed in the spec). Renumbered the trailing sections so the document reads linearly: Anthropic → R4, System endpoints → R5, SDK Compatibility → R6.AGENTS.md: fix the local dev hints — default port is8080(perServerConfigdefaults), not3000, andcargo runneeds theservesubcommand to actually start the server.Why
R5.1 requires specs to accurately reflect the current implementation. The OpenResponses endpoint has been live since v0.2.x and AGENTS.md is the entry point for coding agents — both should be correct.
How
Documentation-only changes. No code touched.
Risk
Checklist
src/cli/mod.rs)ServerConfig::default()insrc/cli/config.rs