Skip to content

Commit

Permalink
feat: Updated OpenAPI spec (#92)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <[email protected]>
  • Loading branch information
HavenDV and github-actions[bot] authored Dec 6, 2024
1 parent e410d3e commit afa6e3a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ public enum CreateMessageRequestModel
///
/// </summary>
Claude20,
/// <summary>
///
/// </summary>
ClaudeInstant12,
}

/// <summary>
Expand All @@ -71,7 +67,6 @@ public static string ToValueString(this CreateMessageRequestModel value)
CreateMessageRequestModel.Claude3Haiku20240307 => "claude-3-haiku-20240307",
CreateMessageRequestModel.Claude21 => "claude-2.1",
CreateMessageRequestModel.Claude20 => "claude-2.0",
CreateMessageRequestModel.ClaudeInstant12 => "claude-instant-1.2",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -91,7 +86,6 @@ public static string ToValueString(this CreateMessageRequestModel value)
"claude-3-haiku-20240307" => CreateMessageRequestModel.Claude3Haiku20240307,
"claude-2.1" => CreateMessageRequestModel.Claude21,
"claude-2.0" => CreateMessageRequestModel.Claude20,
"claude-instant-1.2" => CreateMessageRequestModel.ClaudeInstant12,
_ => null,
};
}
Expand Down
1 change: 0 additions & 1 deletion src/libs/Anthropic/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ components:
- claude-3-haiku-20240307
- claude-2.1
- claude-2.0
- claude-instant-1.2
type: string
description: "Available models. Mind that the list may not be exhaustive nor up-to-date.\n"
description: "The model that will complete your prompt.\n\nSee [models](https://docs.anthropic.com/en/docs/models-overview) for additional\ndetails and options.\n"
Expand Down

0 comments on commit afa6e3a

Please sign in to comment.