Skip to content

Commit 918321e

Browse files
Update CommonTypes.ts to clarify URL requirements for various providers
1 parent 8c9c4ef commit 918321e

File tree

4 files changed

+42
-40
lines changed

4 files changed

+42
-40
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/inference/_types/CommonTypes.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,7 @@ export class GoogleVertexAIServiceSettings {
14451445
* If `streaming_url` is not provided, `url` is also used for streaming `completion` and `chat_completion`.
14461446
* If `provider` is not provided or set to `google` (Google Vertex AI), do not set `url` (or `streaming_url`).
14471447
* At least one of `url` or `streaming_url` must be provided for Google Model Garden endpoint usage.
1448+
* Certain providers require separate URLs for streaming and non-streaming operations (e.g., Anthropic, Mistral, AI21). Others support both operation types through a single URL (e.g., Meta, Hugging Face).
14481449
*/
14491450
url?: string
14501451
/**
@@ -1453,6 +1454,7 @@ export class GoogleVertexAIServiceSettings {
14531454
* If `url` is not provided, `streaming_url` is also used for non-streaming `completion` requests.
14541455
* If `provider` is not provided or set to `google` (Google Vertex AI), do not set `streaming_url` (or `url`).
14551456
* At least one of `streaming_url` or `url` must be provided for Google Model Garden endpoint usage.
1457+
* Certain providers require separate URLs for streaming and non-streaming operations (e.g., Anthropic, Mistral, AI21). Others support both operation types through a single URL (e.g., Meta, Hugging Face).
14561458
*/
14571459
streaming_url?: string
14581460
/**

0 commit comments

Comments
 (0)