You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 10f9dd0
Browse filesBrowse the repository at this point in the historyBrowse files
feat(api): add experimental agent time awareness (#4211)
## Summary
Adds optional time-awareness settings for agents and sessions.
## Changes
- Set experimental.time_awareness when creating or updating agents and
configuring sessions.
- Read effective experimental settings in agent and session responses.
- Document that experimental updates merge by key and preserve omitted
settings.
description: The effective experimental settings for the agent.
85074
85077
required:
85075
85078
- model
85076
85079
- reasoning
@@ -86513,8 +86516,12 @@ components:
86513
86516
- $ref: '#/components/schemas/CompactionParam'
86514
86517
- type: 'null'
86515
86518
description: Context compaction settings. Omit to keep the current settings. A supplied object replaces the settings; null or an empty object enables background compaction.
description: Experimental settings to merge by key. Omitted settings keep their current values.
86516
86523
additionalProperties: false
86517
-
description: Agent configuration for a session. Omitted fields inherit from `agent_id` when supplied. Supplied objects and arrays replace the whole field; null resets nullable fields.
86524
+
description: Agent configuration for a session. Omitted fields inherit from `agent_id` when supplied. Supplied objects and arrays replace the whole field, except experimental settings, which merge by key. Null resets nullable fields.
86518
86525
EnvironmentParamNone:
86519
86526
type: object
86520
86527
properties:
@@ -89985,6 +89992,9 @@ components:
89985
89992
compaction:
89986
89993
$ref: '#/components/schemas/CompactionResource'
89987
89994
description: The effective context compaction settings.
description: Experimental agent settings. All experimental features default to disabled.
90447
90462
required:
90448
90463
- model
90449
90464
additionalProperties: false
@@ -90519,6 +90534,10 @@ components:
90519
90534
- $ref: '#/components/schemas/CompactionParam'
90520
90535
- type: 'null'
90521
90536
description: Context compaction settings. Omit to keep the current settings. A supplied object replaces the settings; null or an empty object enables background compaction.
description: The effective experimental settings for the agent.
91107
91129
required:
91108
91130
- id
91109
91131
- name
@@ -111114,6 +111136,33 @@ components:
111114
111136
type: string
111115
111137
format: binary
111116
111138
description: A transparent PNG overlaid on the first image to guide the edit. Must match that image's dimensions after orientation and contain transparent pixels. Supports GPT Image 2.5 and 2.6. Cannot be combined with mask.
111139
+
ExperimentalConfigOverridesParam:
111140
+
type: object
111141
+
properties:
111142
+
time_awareness:
111143
+
type: boolean
111144
+
description: Whether to give the model periodic current-time reminders. Omit to keep the current setting.
111145
+
additionalProperties: false
111146
+
description: Experimental settings to update. Omitted settings keep their current values.
111147
+
ExperimentalConfigParam:
111148
+
type: object
111149
+
properties:
111150
+
time_awareness:
111151
+
type: boolean
111152
+
default: false
111153
+
description: Whether to give the model periodic current-time reminders. Defaults to false.
111154
+
additionalProperties: false
111155
+
description: Experimental agent settings. These features may change.
111156
+
ExperimentalConfigResource:
111157
+
type: object
111158
+
properties:
111159
+
time_awareness:
111160
+
type: boolean
111161
+
description: Whether the model receives periodic current-time reminders.
111162
+
required:
111163
+
- time_awareness
111164
+
additionalProperties: false
111165
+
description: The effective experimental settings for an agent.
0 commit comments