@transai/connector-runner-mkg 0.6.2 → 0.7.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.
@@ -109,11 +109,24 @@ export interface BaseConnectorConfig {
109
109
  action?: ActionConfig;
110
110
  }
111
111
  export declare function isBaseConnectorConfigType(obj: BaseConnectorConfig): obj is BaseConnectorConfig;
112
- export interface AiAgentConfig {
113
- openai: {
114
- apiKey: string;
115
- model: 'gpt-3.5-turbo' | 'gpt-4' | 'gpt-4-turbo' | 'gpt-4o' | 'gpt-4o-mini' | 'o1-preview' | 'o1-mini';
116
- temperature?: number;
117
- timeout?: number;
112
+ export declare const OPENAI_MODELS: readonly ["gpt-3.5-turbo", "gpt-4", "gpt-4-turbo", "gpt-4o", "gpt-4o-mini", "gpt-5-nano", "gpt-5-mini", "gpt-5", "o1-preview", "o1-mini"];
113
+ export declare const ANTHROPIC_MODELS: readonly ["claude-2", "claude-2-100k", "claude-instant-100k", "claude-sonnet-4-5"];
114
+ export declare const MISTRAL_MODELS: readonly ["mistral-large-2512", "mistral-medium-2508", "mistral-small-2506"];
115
+ export type OpenAiModel = (typeof OPENAI_MODELS)[number];
116
+ export type AnthropicModel = (typeof ANTHROPIC_MODELS)[number];
117
+ export type MistralModel = (typeof MISTRAL_MODELS)[number];
118
+ export interface AiAgentModel {
119
+ apiKey: string;
120
+ provider: 'openai' | 'anthropic' | 'aws' | 'mistral';
121
+ model: OpenAiModel | AnthropicModel | MistralModel;
122
+ region?: string;
123
+ credentials?: {
124
+ secretAccessKey: string;
125
+ accessKeyId: string;
118
126
  };
127
+ temperature?: number;
128
+ timeout?: number;
129
+ }
130
+ export interface AiAgentConfig extends BaseConnectorConfig {
131
+ model: AiAgentModel;
119
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transai/connector-runner-mkg",
3
- "version": "0.6.2",
3
+ "version": "0.7.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },