supercompat 3.16.1 → 3.17.0

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/dist/index.d.cts CHANGED
@@ -3,6 +3,7 @@ import OpenAI, { AzureOpenAI } from 'openai';
3
3
  import { AIProjectClient } from '@azure/ai-projects';
4
4
  import { Mistral } from '@mistralai/mistralai';
5
5
  import Anthropic from '@anthropic-ai/sdk';
6
+ import { GoogleGenAI } from '@google/genai';
6
7
  import { MessageWithRun, StorageAdapterArgs, RequestHandler, RunAdapterWithAssistant } from './types/index.cjs';
7
8
  import { PrismaClient } from '@prisma/client';
8
9
 
@@ -138,9 +139,9 @@ declare const togetherClientAdapter: ({ together, }: {
138
139
  };
139
140
 
140
141
  declare const googleClientAdapter: ({ google, }: {
141
- google: OpenAI;
142
+ google: GoogleGenAI;
142
143
  }) => {
143
- client: OpenAI;
144
+ client: GoogleGenAI;
144
145
  requestHandlers: {
145
146
  '^/v1/models$': {
146
147
  get: (_url: string, _options: any) => Promise<Response>;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import OpenAI, { AzureOpenAI } from 'openai';
3
3
  import { AIProjectClient } from '@azure/ai-projects';
4
4
  import { Mistral } from '@mistralai/mistralai';
5
5
  import Anthropic from '@anthropic-ai/sdk';
6
+ import { GoogleGenAI } from '@google/genai';
6
7
  import { MessageWithRun, StorageAdapterArgs, RequestHandler, RunAdapterWithAssistant } from './types/index.js';
7
8
  import { PrismaClient } from '@prisma/client';
8
9
 
@@ -138,9 +139,9 @@ declare const togetherClientAdapter: ({ together, }: {
138
139
  };
139
140
 
140
141
  declare const googleClientAdapter: ({ google, }: {
141
- google: OpenAI;
142
+ google: GoogleGenAI;
142
143
  }) => {
143
- client: OpenAI;
144
+ client: GoogleGenAI;
144
145
  requestHandlers: {
145
146
  '^/v1/models$': {
146
147
  get: (_url: string, _options: any) => Promise<Response>;