@ai-sdk/google 4.0.0-beta.82 → 4.0.0-beta.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -459,7 +459,6 @@ export class GoogleInteractionsLanguageModel implements LanguageModelV4 {
|
|
|
459
459
|
const url = `${this.config.baseURL}/interactions`;
|
|
460
460
|
|
|
461
461
|
const mergedHeaders = combineHeaders(
|
|
462
|
-
INTERACTIONS_API_REVISION_HEADER,
|
|
463
462
|
this.config.headers ? await resolve(this.config.headers) : undefined,
|
|
464
463
|
options.headers,
|
|
465
464
|
);
|
|
@@ -588,7 +587,6 @@ export class GoogleInteractionsLanguageModel implements LanguageModelV4 {
|
|
|
588
587
|
const url = `${this.config.baseURL}/interactions`;
|
|
589
588
|
|
|
590
589
|
const mergedHeaders = combineHeaders(
|
|
591
|
-
INTERACTIONS_API_REVISION_HEADER,
|
|
592
590
|
this.config.headers ? await resolve(this.config.headers) : undefined,
|
|
593
591
|
options.headers,
|
|
594
592
|
);
|
|
@@ -757,15 +755,6 @@ export class GoogleInteractionsLanguageModel implements LanguageModelV4 {
|
|
|
757
755
|
}
|
|
758
756
|
}
|
|
759
757
|
|
|
760
|
-
/*
|
|
761
|
-
* Pins the Interactions API revision the SDK targets. Sent on every request
|
|
762
|
-
* the model issues so model-id calls, agent calls, polling, SSE reconnects,
|
|
763
|
-
* and cancellation all hit the same schema.
|
|
764
|
-
*/
|
|
765
|
-
const INTERACTIONS_API_REVISION_HEADER: Record<string, string> = {
|
|
766
|
-
'Api-Revision': '2026-05-20',
|
|
767
|
-
};
|
|
768
|
-
|
|
769
758
|
function pruneUndefined<T extends Record<string, unknown>>(obj: T): T {
|
|
770
759
|
const result: Record<string, unknown> = {};
|
|
771
760
|
for (const [key, value] of Object.entries(obj)) {
|