-
-
Notifications
You must be signed in to change notification settings - Fork 1
feat:Add new Anthropic Claude enum values to LemurModel in OpenAPI spec #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe OpenAPI specification file for the AssemblyAI API was updated to include two additional enum values within the Changes
Poem
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
src/libs/AssemblyAI/Generated/AssemblyAI.Models.LemurModel.g.csis excluded by!**/generated/**
📒 Files selected for processing (1)
src/libs/AssemblyAI/openapi.yaml(1 hunks)
| - anthropic/claude-3-7-sonnet-20250219 | ||
| - anthropic/claude-3-5-sonnet | ||
| - anthropic/claude-3-5-haiku-20241022 | ||
| - anthropic/claude-3-opus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Missing enum mapping for new LeMUR models
The two new values
anthropic/claude-3-7-sonnet-20250219anthropic/claude-3-5-haiku-20241022
have been added to theLemurModelenum but lack correspondingx-fern-enumandx-aai-enumentries. Without these mappings, SDK generation will not produce the correct identifiers, labels, or descriptions for these variants.
Please extend the x-fern-enum and x-aai-enum sections to include these two new values. For example:
x-fern-enum:
anthropic/claude-3-5-sonnet:
description: >
Claude 3.5 Sonnet is Anthropic's most intelligent model…
casing:
camel: anthropicClaude3_5_Sonnet
snake: anthropic_claude3_5_sonnet
pascal: AnthropicClaude3_5_Sonnet
screamingSnake: ANTHROPIC_CLAUDE3_5_SONNET
+ anthropic/claude-3-7-sonnet-20250219:
+ description: >
+ Claude 3.7 Sonnet (released 2025-02-19), Anthropic's latest model optimized for advanced reasoning and high-throughput tasks.
+ casing:
+ camel: anthropicClaude3_7_Sonnet20250219
+ snake: anthropic_claude3_7_sonnet_20250219
+ pascal: AnthropicClaude3_7_Sonnet20250219
+ screamingSnake: ANTHROPIC_CLAUDE3_7_SONNET_20250219
+ anthropic/claude-3-5-haiku-20241022:
+ description: >
+ Claude 3.5 Haiku (released 2024-10-22), a lightweight Anthropic model for fast, economical inference.
+ casing:
+ camel: anthropicClaude3_5_Haiku20241022
+ snake: anthropic_claude3_5_haiku_20241022
+ pascal: AnthropicClaude3_5_Haiku20241022
+ screamingSnake: ANTHROPIC_CLAUDE3_5_HAIKU_20241022
x-aai-enum:
anthropic/claude-3-5-sonnet:
label: Claude 3.5 Sonnet (on Anthropic)
+ anthropic/claude-3-7-sonnet-20250219:
+ label: Claude 3.7 Sonnet (on Anthropic)
+ anthropic/claude-3-5-haiku-20241022:
+ label: Claude 3.5 Haiku (on Anthropic)📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| - anthropic/claude-3-7-sonnet-20250219 | |
| - anthropic/claude-3-5-sonnet | |
| - anthropic/claude-3-5-haiku-20241022 | |
| - anthropic/claude-3-opus | |
| x-fern-enum: | |
| anthropic/claude-3-5-sonnet: | |
| description: > | |
| Claude 3.5 Sonnet is Anthropic's most intelligent model… | |
| casing: | |
| camel: anthropicClaude3_5_Sonnet | |
| snake: anthropic_claude3_5_sonnet | |
| pascal: AnthropicClaude3_5_Sonnet | |
| screamingSnake: ANTHROPIC_CLAUDE3_5_SONNET | |
| + anthropic/claude-3-7-sonnet-20250219: | |
| + description: > | |
| + Claude 3.7 Sonnet (released 2025-02-19), Anthropic's latest model optimized for advanced reasoning and high-throughput tasks. | |
| + casing: | |
| + camel: anthropicClaude3_7_Sonnet20250219 | |
| + snake: anthropic_claude3_7_sonnet_20250219 | |
| + pascal: AnthropicClaude3_7_Sonnet20250219 | |
| + screamingSnake: ANTHROPIC_CLAUDE3_7_SONNET_20250219 | |
| + anthropic/claude-3-5-haiku-20241022: | |
| + description: > | |
| + Claude 3.5 Haiku (released 2024-10-22), a lightweight Anthropic model for fast, economical inference. | |
| + casing: | |
| + camel: anthropicClaude3_5_Haiku20241022 | |
| + snake: anthropic_claude3_5_haiku_20241022 | |
| + pascal: AnthropicClaude3_5_Haiku20241022 | |
| + screamingSnake: ANTHROPIC_CLAUDE3_5_HAIKU_20241022 | |
| x-aai-enum: | |
| anthropic/claude-3-5-sonnet: | |
| label: Claude 3.5 Sonnet (on Anthropic) | |
| + anthropic/claude-3-7-sonnet-20250219: | |
| + label: Claude 3.7 Sonnet (on Anthropic) | |
| + anthropic/claude-3-5-haiku-20241022: | |
| + label: Claude 3.5 Haiku (on Anthropic) |
Summary by CodeRabbit