Skip to content

Commit 1090ab3

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#279)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 51a8873 commit 1090ab3

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4464,9 +4464,10 @@ components:
44644464
type: string
44654465
session_id:
44664466
description: >-
4467-
A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for
4468-
observability. If provided in both the request body and the x-session-id header, the body value takes
4469-
precedence. Maximum of 256 characters.
4467+
A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided,
4468+
OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to
4469+
maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and
4470+
the x-session-id header, the body value takes precedence. Maximum of 256 characters.
44704471
maxLength: 256
44714472
type: string
44724473
stop:
@@ -9957,9 +9958,10 @@ components:
99579958
type: string
99589959
session_id:
99599960
description: >-
9960-
A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for
9961-
observability. If provided in both the request body and the x-session-id header, the body value takes
9962-
precedence. Maximum of 256 characters.
9961+
A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided,
9962+
OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to
9963+
maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and
9964+
the x-session-id header, the body value takes precedence. Maximum of 256 characters.
99639965
maxLength: 256
99649966
type: string
99659967
speed:
@@ -17353,9 +17355,10 @@ components:
1735317355
type: string
1735417356
session_id:
1735517357
description: >-
17356-
A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for
17357-
observability. If provided in both the request body and the x-session-id header, the body value takes
17358-
precedence. Maximum of 256 characters.
17358+
A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided,
17359+
OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to
17360+
maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and
17361+
the x-session-id header, the body value takes precedence. Maximum of 256 characters.
1735917362
maxLength: 256
1736017363
type: string
1736117364
stop_server_tools_when:

0 commit comments

Comments
 (0)