Skip to content

Commit 2a51b78

Browse files
MarkDaoustcopybara-github
authored andcommitted
chore: Remove experimental warnings for interactions
PiperOrigin-RevId: 915681567
1 parent cd4d52c commit 2a51b78

4 files changed

Lines changed: 16 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,10 @@ async function main() {
369369
main();
370370
```
371371
372-
## Interactions
372+
## Interactions (Experimental)
373+
374+
> **Warning:** The Interactions API is in **Beta**. This is a preview of an
375+
experimental feature. Features and schemas are subject to **breaking changes**.
373376
374377
The Interactions API is a unified interface for interacting with Gemini models
375378
and agents. It simplifies state management, tool orchestration, and long-running

src/client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ export class GoogleGenAI {
187187
return this._interactions;
188188
}
189189

190+
console.warn(
191+
'GoogleGenAI.interactions: Interactions usage is experimental and may change in future versions.',
192+
);
193+
190194
this._interactions = this.getNextGenClient().interactions;
191195
return this._interactions;
192196
}

src/node/node_client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ export class GoogleGenAI {
163163
return this._interactions;
164164
}
165165

166+
console.warn(
167+
'GoogleGenAI.interactions: Interactions usage is experimental and may change in future versions.',
168+
);
169+
166170
this._interactions = this.getNextGenClient().interactions;
167171
return this._interactions;
168172
}

src/web/web_client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ export class GoogleGenAI {
115115
return this._interactions;
116116
}
117117

118+
console.warn(
119+
'GoogleGenAI.interactions: Interactions usage is experimental and may change in future versions.',
120+
);
121+
118122
this._interactions = this.getNextGenClient().interactions;
119123
return this._interactions;
120124
}

0 commit comments

Comments
 (0)