@posthog/ai 7.3.0 → 7.3.1
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/anthropic/index.cjs +1 -1
- package/dist/anthropic/index.mjs +1 -1
- package/dist/gemini/index.cjs +1 -1
- package/dist/gemini/index.cjs.map +1 -1
- package/dist/gemini/index.d.ts +2 -7
- package/dist/gemini/index.mjs +1 -1
- package/dist/gemini/index.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -7
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/langchain/index.cjs +1 -1
- package/dist/langchain/index.mjs +1 -1
- package/dist/openai/index.cjs +1 -1
- package/dist/openai/index.mjs +1 -1
- package/dist/vercel/index.cjs +1 -1
- package/dist/vercel/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { ResponseCreateParamsWithTools, ExtractParsedContentFromParams } from 'o
|
|
|
6
6
|
import { LanguageModelV2, LanguageModelV3 } from '@ai-sdk/provider';
|
|
7
7
|
import AnthropicOriginal, { APIPromise as APIPromise$1 } from '@anthropic-ai/sdk';
|
|
8
8
|
import { Stream as Stream$1 } from '@anthropic-ai/sdk/streaming';
|
|
9
|
-
import { GoogleGenAI, GenerateContentParameters, GenerateContentResponse } from '@google/genai';
|
|
9
|
+
import { GoogleGenAI, GenerateContentParameters, GenerateContentResponse, GoogleGenAIOptions } from '@google/genai';
|
|
10
10
|
import { BaseCallbackHandler } from '@langchain/core/callbacks/base';
|
|
11
11
|
import { Serialized } from '@langchain/core/load/serializable';
|
|
12
12
|
import { ChainValues } from '@langchain/core/utils/types';
|
|
@@ -191,12 +191,7 @@ declare class WrappedMessages extends AnthropicOriginal.Messages {
|
|
|
191
191
|
create(body: MessageCreateParamsBase & MonitoringParams, options?: RequestOptions): APIPromise$1<Stream$1<RawMessageStreamEvent> | Message>;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
interface MonitoringGeminiConfig {
|
|
195
|
-
apiKey?: string;
|
|
196
|
-
vertexai?: boolean;
|
|
197
|
-
project?: string;
|
|
198
|
-
location?: string;
|
|
199
|
-
apiVersion?: string;
|
|
194
|
+
interface MonitoringGeminiConfig extends GoogleGenAIOptions {
|
|
200
195
|
posthog: PostHog;
|
|
201
196
|
}
|
|
202
197
|
declare class PostHogGoogleGenAI {
|
package/dist/index.mjs
CHANGED