Repository navigation
docs: deprecate llm cost endpoints - #5230
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: openmeterio/openmeter/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
| @tag(Shared.FeaturesTag) | ||
| interface FeatureCostEndpoints extends Features.FeatureCostOperations {} | ||
|
|
||
| #deprecated "Not supported anymore" |
There was a problem hiding this comment.
SDK deprecation notice missing
This marks the LLM cost price endpoints as deprecated, as does the new marker on the override endpoints, but the TypeScript and Go SDK methods still have no deprecation notice. The TypeScript generator builds method documentation from the summary, description, and route only, so regenerating the SDK will not add one. SDK users relying on method documentation will miss the warning shown in OpenAPI; please propagate the deprecation to the generated client documentation.
Knowledge Base Used: API and runtime composition
Prompt To Fix With AI
This is a comment left during a code review.
Path: api/spec/packages/aip/src/openmeter.tsp
Line: 218
Comment:
**SDK deprecation notice missing**
This marks the LLM cost price endpoints as deprecated, as does the new marker on the override endpoints, but the TypeScript and Go SDK methods still have no deprecation notice. The TypeScript generator builds method documentation from the summary, description, and route only, so regenerating the SDK will not add one. SDK users relying on method documentation will miss the warning shown in OpenAPI; please propagate the deprecation to the generated client documentation.
**Knowledge Base Used:** [API and runtime composition](https://app.greptile.com/openmeter/-/custom-context/knowledge-base/openmeterio/openmeter/-/docs/api-and-runtime-composition.md)
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary by CodeRabbit
/openmeter/llm-cost/pricesendpoint is marked as deprecated and noted as no longer supported. Its route and interface remain unchanged.The PR appears safe to merge, though SDK users will not see the new deprecation notice in method documentation.
Fix with agent prompt
Summary
The PR marks the five LLM cost price and override operations deprecated in TypeSpec and OpenAPI and updates the embedded server specification.
Reviews (1) · Last reviewed commit: "docs: deprecate llm cost endpoints"