@inkeep/ai-sdk-provider 0.0.0-dev-20251208202532 → 0.30.2

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
@@ -104,7 +104,7 @@ declare class InkeepChatLanguageModel implements LanguageModelV2 {
104
104
  readonly options: InkeepChatOptions;
105
105
  readonly config: InkeepChatConfig;
106
106
  get provider(): string;
107
- constructor(options: InkeepChatOptions, config: InkeepChatConfig);
107
+ constructor(modelId: string, options: InkeepChatOptions, config: InkeepChatConfig);
108
108
  private getArgs;
109
109
  doGenerate(options: LanguageModelV2CallOptions): Promise<{
110
110
  content: LanguageModelV2Content[];
@@ -119,6 +119,7 @@ declare class InkeepChatLanguageModel implements LanguageModelV2 {
119
119
  rawCall: {
120
120
  rawPrompt: InkeepChatMessage[];
121
121
  rawSettings: {
122
+ model: string;
122
123
  messages: InkeepChatMessage[];
123
124
  conversationId: string | undefined;
124
125
  headers: Record<string, unknown> | undefined;
@@ -140,6 +141,7 @@ declare class InkeepChatLanguageModel implements LanguageModelV2 {
140
141
  rawCall: {
141
142
  rawPrompt: InkeepChatMessage[];
142
143
  rawSettings: {
144
+ model: string;
143
145
  messages: InkeepChatMessage[];
144
146
  conversationId: string | undefined;
145
147
  headers: Record<string, unknown> | undefined;
@@ -165,8 +167,8 @@ declare const inkeepErrorDataSchema: z.ZodObject<{
165
167
  type InkeepErrorData = z.infer<typeof inkeepErrorDataSchema>;
166
168
 
167
169
  interface InkeepProvider {
168
- (options?: InkeepChatOptions): InkeepChatLanguageModel;
169
- languageModel(options?: InkeepChatOptions): InkeepChatLanguageModel;
170
+ (agentId: string, options?: InkeepChatOptions): InkeepChatLanguageModel;
171
+ languageModel(agentId: string, options?: InkeepChatOptions): InkeepChatLanguageModel;
170
172
  }
171
173
  interface InkeepProviderSettings {
172
174
  baseURL?: string;
package/dist/index.d.ts CHANGED
@@ -104,7 +104,7 @@ declare class InkeepChatLanguageModel implements LanguageModelV2 {
104
104
  readonly options: InkeepChatOptions;
105
105
  readonly config: InkeepChatConfig;
106
106
  get provider(): string;
107
- constructor(options: InkeepChatOptions, config: InkeepChatConfig);
107
+ constructor(modelId: string, options: InkeepChatOptions, config: InkeepChatConfig);
108
108
  private getArgs;
109
109
  doGenerate(options: LanguageModelV2CallOptions): Promise<{
110
110
  content: LanguageModelV2Content[];
@@ -119,6 +119,7 @@ declare class InkeepChatLanguageModel implements LanguageModelV2 {
119
119
  rawCall: {
120
120
  rawPrompt: InkeepChatMessage[];
121
121
  rawSettings: {
122
+ model: string;
122
123
  messages: InkeepChatMessage[];
123
124
  conversationId: string | undefined;
124
125
  headers: Record<string, unknown> | undefined;
@@ -140,6 +141,7 @@ declare class InkeepChatLanguageModel implements LanguageModelV2 {
140
141
  rawCall: {
141
142
  rawPrompt: InkeepChatMessage[];
142
143
  rawSettings: {
144
+ model: string;
143
145
  messages: InkeepChatMessage[];
144
146
  conversationId: string | undefined;
145
147
  headers: Record<string, unknown> | undefined;
@@ -165,8 +167,8 @@ declare const inkeepErrorDataSchema: z.ZodObject<{
165
167
  type InkeepErrorData = z.infer<typeof inkeepErrorDataSchema>;
166
168
 
167
169
  interface InkeepProvider {
168
- (options?: InkeepChatOptions): InkeepChatLanguageModel;
169
- languageModel(options?: InkeepChatOptions): InkeepChatLanguageModel;
170
+ (agentId: string, options?: InkeepChatOptions): InkeepChatLanguageModel;
171
+ languageModel(agentId: string, options?: InkeepChatOptions): InkeepChatLanguageModel;
170
172
  }
171
173
  interface InkeepProviderSettings {
172
174
  baseURL?: string;