@burtson-labs/bandit-engine 2.0.35 → 2.0.37
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/README.md +6 -5
- package/dist/{aiProviderStore-3YS2BZU3.mjs → aiProviderStore-UJRDUYOF.mjs} +2 -2
- package/dist/{chat-2LYIZNWZ.mjs → chat-SZK3EBDO.mjs} +5 -5
- package/dist/chat-provider.js +227 -11
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +4 -4
- package/dist/{chunk-6PQRG6W4.mjs → chunk-2ZZA2IFL.mjs} +3 -3
- package/dist/{chunk-GBANNFRD.mjs → chunk-ED5NNDKO.mjs} +3 -3
- package/dist/{chunk-XD5VJCFN.mjs → chunk-FJO5ZWYU.mjs} +3 -3
- package/dist/{chunk-XXMCI2WK.mjs → chunk-G4OXOTNJ.mjs} +41 -8
- package/dist/{chunk-XXMCI2WK.mjs.map → chunk-G4OXOTNJ.mjs.map} +1 -1
- package/dist/{chunk-LG2JCTOE.mjs → chunk-PLNFTIGX.mjs} +4 -4
- package/dist/{chunk-7RLN6ZGT.mjs → chunk-S635Q6OQ.mjs} +3 -3
- package/dist/{chunk-IGD4KGB5.mjs → chunk-ZAVV2AT5.mjs} +4 -4
- package/dist/{chunk-IHJPVIGB.mjs → chunk-ZNNOTDRD.mjs} +208 -1
- package/dist/chunk-ZNNOTDRD.mjs.map +1 -0
- package/dist/cli/cli.js +1104 -68
- package/dist/cli/cli.js.map +1 -1
- package/dist/{gateway-BiHRHJMM.d.ts → gateway-Ckf_KusF.d.mts} +4 -4
- package/dist/{gateway-BiHRHJMM.d.mts → gateway-Ckf_KusF.d.ts} +4 -4
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +318 -69
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/management/management.js +316 -67
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +6 -6
- package/dist/modals/chat-modal/chat-modal.js +236 -20
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +4 -4
- package/dist/public-types.d.mts +1 -1
- package/dist/public-types.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-IHJPVIGB.mjs.map +0 -1
- /package/dist/{aiProviderStore-3YS2BZU3.mjs.map → aiProviderStore-UJRDUYOF.mjs.map} +0 -0
- /package/dist/{chat-2LYIZNWZ.mjs.map → chat-SZK3EBDO.mjs.map} +0 -0
- /package/dist/{chunk-6PQRG6W4.mjs.map → chunk-2ZZA2IFL.mjs.map} +0 -0
- /package/dist/{chunk-GBANNFRD.mjs.map → chunk-ED5NNDKO.mjs.map} +0 -0
- /package/dist/{chunk-XD5VJCFN.mjs.map → chunk-FJO5ZWYU.mjs.map} +0 -0
- /package/dist/{chunk-LG2JCTOE.mjs.map → chunk-PLNFTIGX.mjs.map} +0 -0
- /package/dist/{chunk-7RLN6ZGT.mjs.map → chunk-S635Q6OQ.mjs.map} +0 -0
- /package/dist/{chunk-IGD4KGB5.mjs.map → chunk-ZAVV2AT5.mjs.map} +0 -0
|
@@ -47,13 +47,13 @@ interface AIModel {
|
|
|
47
47
|
modified_at?: string;
|
|
48
48
|
}
|
|
49
49
|
interface AIProviderConfig {
|
|
50
|
-
type: 'ollama' | 'openai' | 'azure-openai' | 'anthropic' | 'gateway' | 'playground';
|
|
50
|
+
type: 'ollama' | 'openai' | 'azure-openai' | 'anthropic' | 'xai' | 'gateway' | 'playground';
|
|
51
51
|
baseUrl?: string;
|
|
52
52
|
apiKey?: string;
|
|
53
53
|
apiVersion?: string;
|
|
54
54
|
deploymentName?: string;
|
|
55
55
|
gatewayUrl?: string;
|
|
56
|
-
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
|
|
56
|
+
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
|
|
57
57
|
tokenFactory?: () => string | null;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -213,7 +213,7 @@ interface GatewayChatRequest {
|
|
|
213
213
|
top_p?: number;
|
|
214
214
|
frequency_penalty?: number;
|
|
215
215
|
presence_penalty?: number;
|
|
216
|
-
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
|
|
216
|
+
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
|
|
217
217
|
stop?: string | string[];
|
|
218
218
|
images?: string[];
|
|
219
219
|
}
|
|
@@ -246,7 +246,7 @@ interface GatewayGenerateRequest {
|
|
|
246
246
|
stream?: boolean;
|
|
247
247
|
temperature?: number;
|
|
248
248
|
max_tokens?: number;
|
|
249
|
-
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
|
|
249
|
+
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
|
|
250
250
|
stop?: string | string[];
|
|
251
251
|
}
|
|
252
252
|
interface GatewayGenerateResponse {
|
|
@@ -47,13 +47,13 @@ interface AIModel {
|
|
|
47
47
|
modified_at?: string;
|
|
48
48
|
}
|
|
49
49
|
interface AIProviderConfig {
|
|
50
|
-
type: 'ollama' | 'openai' | 'azure-openai' | 'anthropic' | 'gateway' | 'playground';
|
|
50
|
+
type: 'ollama' | 'openai' | 'azure-openai' | 'anthropic' | 'xai' | 'gateway' | 'playground';
|
|
51
51
|
baseUrl?: string;
|
|
52
52
|
apiKey?: string;
|
|
53
53
|
apiVersion?: string;
|
|
54
54
|
deploymentName?: string;
|
|
55
55
|
gatewayUrl?: string;
|
|
56
|
-
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
|
|
56
|
+
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
|
|
57
57
|
tokenFactory?: () => string | null;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -213,7 +213,7 @@ interface GatewayChatRequest {
|
|
|
213
213
|
top_p?: number;
|
|
214
214
|
frequency_penalty?: number;
|
|
215
215
|
presence_penalty?: number;
|
|
216
|
-
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
|
|
216
|
+
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
|
|
217
217
|
stop?: string | string[];
|
|
218
218
|
images?: string[];
|
|
219
219
|
}
|
|
@@ -246,7 +246,7 @@ interface GatewayGenerateRequest {
|
|
|
246
246
|
stream?: boolean;
|
|
247
247
|
temperature?: number;
|
|
248
248
|
max_tokens?: number;
|
|
249
|
-
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
|
|
249
|
+
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
|
|
250
250
|
stop?: string | string[];
|
|
251
251
|
}
|
|
252
252
|
interface GatewayGenerateResponse {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FeatureFlagConfig, a as FeatureKey, b as FeatureEvaluation, S as SubscriptionTier, T as TrialUsage, G as GatewayHealthResponse, c as GatewayModel, d as GatewayMemoryResponse } from './gateway-
|
|
2
|
-
export { t as AIChatRequest, u as AIChatResponse, w as AIGenerateRequest, x as AIGenerateResponse, y as AIMessage, s as AIModel, A as AIProviderConfig, g as ChatConfig, e as ChatModal, h as ChatModalProps, C as ChatProvider, D as DEFAULT_TIER_FEATURES, f as FeatureMatrix, m as GatewayChatRequest, n as GatewayChatResponse, j as GatewayContract, o as GatewayGenerateRequest, p as GatewayGenerateResponse, r as GatewayMemoryRecord, l as GatewayMessage, k as GatewayMessageContent, q as GatewayModelsResponse, O as OSS_DEFAULT_FEATURES, P as PackageSettings, i as VoiceModelsResponse, V as VoiceService, v as voiceService } from './gateway-
|
|
1
|
+
import { F as FeatureFlagConfig, a as FeatureKey, b as FeatureEvaluation, S as SubscriptionTier, T as TrialUsage, G as GatewayHealthResponse, c as GatewayModel, d as GatewayMemoryResponse } from './gateway-Ckf_KusF.mjs';
|
|
2
|
+
export { t as AIChatRequest, u as AIChatResponse, w as AIGenerateRequest, x as AIGenerateResponse, y as AIMessage, s as AIModel, A as AIProviderConfig, g as ChatConfig, e as ChatModal, h as ChatModalProps, C as ChatProvider, D as DEFAULT_TIER_FEATURES, f as FeatureMatrix, m as GatewayChatRequest, n as GatewayChatResponse, j as GatewayContract, o as GatewayGenerateRequest, p as GatewayGenerateResponse, r as GatewayMemoryRecord, l as GatewayMessage, k as GatewayMessageContent, q as GatewayModelsResponse, O as OSS_DEFAULT_FEATURES, P as PackageSettings, i as VoiceModelsResponse, V as VoiceService, v as voiceService } from './gateway-Ckf_KusF.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import React, { ReactNode } from 'react';
|
|
5
5
|
import * as zustand from 'zustand';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FeatureFlagConfig, a as FeatureKey, b as FeatureEvaluation, S as SubscriptionTier, T as TrialUsage, G as GatewayHealthResponse, c as GatewayModel, d as GatewayMemoryResponse } from './gateway-
|
|
2
|
-
export { t as AIChatRequest, u as AIChatResponse, w as AIGenerateRequest, x as AIGenerateResponse, y as AIMessage, s as AIModel, A as AIProviderConfig, g as ChatConfig, e as ChatModal, h as ChatModalProps, C as ChatProvider, D as DEFAULT_TIER_FEATURES, f as FeatureMatrix, m as GatewayChatRequest, n as GatewayChatResponse, j as GatewayContract, o as GatewayGenerateRequest, p as GatewayGenerateResponse, r as GatewayMemoryRecord, l as GatewayMessage, k as GatewayMessageContent, q as GatewayModelsResponse, O as OSS_DEFAULT_FEATURES, P as PackageSettings, i as VoiceModelsResponse, V as VoiceService, v as voiceService } from './gateway-
|
|
1
|
+
import { F as FeatureFlagConfig, a as FeatureKey, b as FeatureEvaluation, S as SubscriptionTier, T as TrialUsage, G as GatewayHealthResponse, c as GatewayModel, d as GatewayMemoryResponse } from './gateway-Ckf_KusF.js';
|
|
2
|
+
export { t as AIChatRequest, u as AIChatResponse, w as AIGenerateRequest, x as AIGenerateResponse, y as AIMessage, s as AIModel, A as AIProviderConfig, g as ChatConfig, e as ChatModal, h as ChatModalProps, C as ChatProvider, D as DEFAULT_TIER_FEATURES, f as FeatureMatrix, m as GatewayChatRequest, n as GatewayChatResponse, j as GatewayContract, o as GatewayGenerateRequest, p as GatewayGenerateResponse, r as GatewayMemoryRecord, l as GatewayMessage, k as GatewayMessageContent, q as GatewayModelsResponse, O as OSS_DEFAULT_FEATURES, P as PackageSettings, i as VoiceModelsResponse, V as VoiceService, v as voiceService } from './gateway-Ckf_KusF.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import React, { ReactNode } from 'react';
|
|
5
5
|
import * as zustand from 'zustand';
|