BedrockMantleRoutes
Namespace: Vercel.AI.AmazonBedrock
public static class BedrockMantleRoutesMantle URL rules. Some model ids are served under /openai/v1.
Inheritance: object
Methods
Section titled “Methods”Url(string, string?, string, string)
Section titled “Url(string, string?, string, string)”public static string Url(string region, string? baseUrl, string modelId, string path)Joins the Mantle origin and <code class=“paramref”>path</code> for <code class=“paramref”>modelId</code>.
Parameters
| Name | Type | Description |
|---|---|---|
region |
string | |
baseUrl |
string | |
modelId |
string | |
path |
string |
Returns: string
UsesOpenAiRoute(string)
Section titled “UsesOpenAiRoute(string)”public static bool UsesOpenAiRoute(string modelId)True for Mantle models served on the OpenAI route, excluding openai.gpt-oss-.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: bool
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product