@elizaos/core 1.3.0 → 1.3.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/README.md +1 -1
- package/dist/{chunk-P3YTG22Y.js → chunk-2KW7KWYC.js} +114 -4
- package/dist/{index-DQlJZj2X.d.ts → index-D-EzHFvJ.d.ts} +54 -1
- package/dist/index.d.ts +15 -2
- package/dist/index.js +5 -1
- package/dist/specs/v1/index.js +1 -1
- package/dist/specs/v1/messages.js +1 -1
- package/dist/specs/v1/posts.js +1 -1
- package/dist/specs/v1/runtime.js +1 -1
- package/dist/specs/v1/uuid.js +1 -1
- package/dist/specs/v2/index.d.ts +1 -1
- package/dist/specs/v2/index.js +1 -1
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -158,7 +158,7 @@ For detailed instructions on creating and registering plugins and actions, refer
|
|
|
158
158
|
|
|
159
159
|
### Running Tests
|
|
160
160
|
|
|
161
|
-
The `@elizaos/core` package uses **
|
|
161
|
+
The `@elizaos/core` package uses **bun:test** for testing.
|
|
162
162
|
|
|
163
163
|
1. **Prerequisites**:
|
|
164
164
|
|
|
@@ -583,6 +583,45 @@ var ModelType2 = {
|
|
|
583
583
|
OBJECT_SMALL: "OBJECT_SMALL",
|
|
584
584
|
OBJECT_LARGE: "OBJECT_LARGE"
|
|
585
585
|
};
|
|
586
|
+
var MODEL_SETTINGS = {
|
|
587
|
+
// Default settings - apply to all model types unless overridden
|
|
588
|
+
DEFAULT_MAX_TOKENS: "DEFAULT_MAX_TOKENS",
|
|
589
|
+
DEFAULT_TEMPERATURE: "DEFAULT_TEMPERATURE",
|
|
590
|
+
DEFAULT_FREQUENCY_PENALTY: "DEFAULT_FREQUENCY_PENALTY",
|
|
591
|
+
DEFAULT_PRESENCE_PENALTY: "DEFAULT_PRESENCE_PENALTY",
|
|
592
|
+
// TEXT_SMALL specific settings
|
|
593
|
+
TEXT_SMALL_MAX_TOKENS: "TEXT_SMALL_MAX_TOKENS",
|
|
594
|
+
TEXT_SMALL_TEMPERATURE: "TEXT_SMALL_TEMPERATURE",
|
|
595
|
+
TEXT_SMALL_FREQUENCY_PENALTY: "TEXT_SMALL_FREQUENCY_PENALTY",
|
|
596
|
+
TEXT_SMALL_PRESENCE_PENALTY: "TEXT_SMALL_PRESENCE_PENALTY",
|
|
597
|
+
// TEXT_LARGE specific settings
|
|
598
|
+
TEXT_LARGE_MAX_TOKENS: "TEXT_LARGE_MAX_TOKENS",
|
|
599
|
+
TEXT_LARGE_TEMPERATURE: "TEXT_LARGE_TEMPERATURE",
|
|
600
|
+
TEXT_LARGE_FREQUENCY_PENALTY: "TEXT_LARGE_FREQUENCY_PENALTY",
|
|
601
|
+
TEXT_LARGE_PRESENCE_PENALTY: "TEXT_LARGE_PRESENCE_PENALTY",
|
|
602
|
+
// OBJECT_SMALL specific settings
|
|
603
|
+
OBJECT_SMALL_MAX_TOKENS: "OBJECT_SMALL_MAX_TOKENS",
|
|
604
|
+
OBJECT_SMALL_TEMPERATURE: "OBJECT_SMALL_TEMPERATURE",
|
|
605
|
+
OBJECT_SMALL_FREQUENCY_PENALTY: "OBJECT_SMALL_FREQUENCY_PENALTY",
|
|
606
|
+
OBJECT_SMALL_PRESENCE_PENALTY: "OBJECT_SMALL_PRESENCE_PENALTY",
|
|
607
|
+
// OBJECT_LARGE specific settings
|
|
608
|
+
OBJECT_LARGE_MAX_TOKENS: "OBJECT_LARGE_MAX_TOKENS",
|
|
609
|
+
OBJECT_LARGE_TEMPERATURE: "OBJECT_LARGE_TEMPERATURE",
|
|
610
|
+
OBJECT_LARGE_FREQUENCY_PENALTY: "OBJECT_LARGE_FREQUENCY_PENALTY",
|
|
611
|
+
OBJECT_LARGE_PRESENCE_PENALTY: "OBJECT_LARGE_PRESENCE_PENALTY",
|
|
612
|
+
// Legacy keys for backwards compatibility (will be treated as defaults)
|
|
613
|
+
MODEL_MAX_TOKEN: "MODEL_MAX_TOKEN",
|
|
614
|
+
MODEL_TEMPERATURE: "MODEL_TEMPERATURE",
|
|
615
|
+
MODEL_FREQ_PENALTY: "MODEL_FREQ_PENALTY",
|
|
616
|
+
MODEL_PRESENCE_PENALTY: "MODEL_PRESENCE_PENALTY"
|
|
617
|
+
};
|
|
618
|
+
function getModelSpecificSettingKey(modelType, param) {
|
|
619
|
+
const supportedModelTypes = ["TEXT_SMALL", "TEXT_LARGE", "OBJECT_SMALL", "OBJECT_LARGE"];
|
|
620
|
+
if (!supportedModelTypes.includes(modelType)) {
|
|
621
|
+
return null;
|
|
622
|
+
}
|
|
623
|
+
return `${modelType}_${param}`;
|
|
624
|
+
}
|
|
586
625
|
|
|
587
626
|
// src/types/database.ts
|
|
588
627
|
var VECTOR_DIMS2 = {
|
|
@@ -4017,6 +4056,64 @@ var AgentRuntime = class {
|
|
|
4017
4056
|
);
|
|
4018
4057
|
return models[0].handler;
|
|
4019
4058
|
}
|
|
4059
|
+
/**
|
|
4060
|
+
* Retrieves model configuration settings from character settings with support for
|
|
4061
|
+
* model-specific overrides and default fallbacks.
|
|
4062
|
+
*
|
|
4063
|
+
* Precedence order (highest to lowest):
|
|
4064
|
+
* 1. Model-specific settings (e.g., TEXT_SMALL_TEMPERATURE)
|
|
4065
|
+
* 2. Default settings (e.g., DEFAULT_TEMPERATURE)
|
|
4066
|
+
* 3. Legacy settings for backwards compatibility (e.g., MODEL_TEMPERATURE)
|
|
4067
|
+
*
|
|
4068
|
+
* @param modelType The specific model type to get settings for
|
|
4069
|
+
* @returns Object containing model parameters if they exist, or null if no settings are configured
|
|
4070
|
+
*/
|
|
4071
|
+
getModelSettings(modelType) {
|
|
4072
|
+
const modelSettings = {};
|
|
4073
|
+
const getSettingWithFallback = (param, legacyKey) => {
|
|
4074
|
+
if (modelType) {
|
|
4075
|
+
const modelSpecificKey = `${modelType}_${param}`;
|
|
4076
|
+
const modelValue = this.getSetting(modelSpecificKey);
|
|
4077
|
+
if (modelValue !== null && modelValue !== void 0) {
|
|
4078
|
+
const numValue = Number(modelValue);
|
|
4079
|
+
if (!isNaN(numValue)) {
|
|
4080
|
+
return numValue;
|
|
4081
|
+
}
|
|
4082
|
+
}
|
|
4083
|
+
}
|
|
4084
|
+
const defaultKey = `DEFAULT_${param}`;
|
|
4085
|
+
const defaultValue = this.getSetting(defaultKey);
|
|
4086
|
+
if (defaultValue !== null && defaultValue !== void 0) {
|
|
4087
|
+
const numValue = Number(defaultValue);
|
|
4088
|
+
if (!isNaN(numValue)) {
|
|
4089
|
+
return numValue;
|
|
4090
|
+
}
|
|
4091
|
+
}
|
|
4092
|
+
const legacyValue = this.getSetting(legacyKey);
|
|
4093
|
+
if (legacyValue !== null && legacyValue !== void 0) {
|
|
4094
|
+
const numValue = Number(legacyValue);
|
|
4095
|
+
if (!isNaN(numValue)) {
|
|
4096
|
+
return numValue;
|
|
4097
|
+
}
|
|
4098
|
+
}
|
|
4099
|
+
return null;
|
|
4100
|
+
};
|
|
4101
|
+
const maxTokens = getSettingWithFallback("MAX_TOKENS", MODEL_SETTINGS.MODEL_MAX_TOKEN);
|
|
4102
|
+
const temperature = getSettingWithFallback("TEMPERATURE", MODEL_SETTINGS.MODEL_TEMPERATURE);
|
|
4103
|
+
const frequencyPenalty = getSettingWithFallback(
|
|
4104
|
+
"FREQUENCY_PENALTY",
|
|
4105
|
+
MODEL_SETTINGS.MODEL_FREQ_PENALTY
|
|
4106
|
+
);
|
|
4107
|
+
const presencePenalty = getSettingWithFallback(
|
|
4108
|
+
"PRESENCE_PENALTY",
|
|
4109
|
+
MODEL_SETTINGS.MODEL_PRESENCE_PENALTY
|
|
4110
|
+
);
|
|
4111
|
+
if (maxTokens !== null) modelSettings.maxTokens = maxTokens;
|
|
4112
|
+
if (temperature !== null) modelSettings.temperature = temperature;
|
|
4113
|
+
if (frequencyPenalty !== null) modelSettings.frequencyPenalty = frequencyPenalty;
|
|
4114
|
+
if (presencePenalty !== null) modelSettings.presencePenalty = presencePenalty;
|
|
4115
|
+
return Object.keys(modelSettings).length > 0 ? modelSettings : null;
|
|
4116
|
+
}
|
|
4020
4117
|
async useModel(modelType, params, provider) {
|
|
4021
4118
|
const modelKey = typeof modelType === "string" ? modelType : ModelType2[modelType];
|
|
4022
4119
|
const promptContent = params?.prompt || params?.input || (Array.isArray(params?.messages) ? JSON.stringify(params.messages) : null);
|
|
@@ -4032,10 +4129,21 @@ var AgentRuntime = class {
|
|
|
4032
4129
|
if (params === null || params === void 0 || typeof params !== "object" || Array.isArray(params) || typeof Buffer !== "undefined" && Buffer.isBuffer(params)) {
|
|
4033
4130
|
paramsWithRuntime = params;
|
|
4034
4131
|
} else {
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4132
|
+
const modelSettings = this.getModelSettings(modelKey);
|
|
4133
|
+
if (modelSettings) {
|
|
4134
|
+
paramsWithRuntime = {
|
|
4135
|
+
...modelSettings,
|
|
4136
|
+
// Apply model settings first (includes defaults and model-specific)
|
|
4137
|
+
...params,
|
|
4138
|
+
// Then apply specific params (allowing overrides)
|
|
4139
|
+
runtime: this
|
|
4140
|
+
};
|
|
4141
|
+
} else {
|
|
4142
|
+
paramsWithRuntime = {
|
|
4143
|
+
...params,
|
|
4144
|
+
runtime: this
|
|
4145
|
+
};
|
|
4146
|
+
}
|
|
4039
4147
|
}
|
|
4040
4148
|
const startTime = performance.now();
|
|
4041
4149
|
try {
|
|
@@ -6182,6 +6290,8 @@ export {
|
|
|
6182
6290
|
getTypedService2 as getTypedService,
|
|
6183
6291
|
createServiceError2 as createServiceError,
|
|
6184
6292
|
ModelType2 as ModelType,
|
|
6293
|
+
MODEL_SETTINGS,
|
|
6294
|
+
getModelSpecificSettingKey,
|
|
6185
6295
|
VECTOR_DIMS2 as VECTOR_DIMS,
|
|
6186
6296
|
EventType2 as EventType,
|
|
6187
6297
|
PlatformPrefix2 as PlatformPrefix,
|
|
@@ -968,6 +968,59 @@ declare const ModelType: {
|
|
|
968
968
|
readonly OBJECT_SMALL: "OBJECT_SMALL";
|
|
969
969
|
readonly OBJECT_LARGE: "OBJECT_LARGE";
|
|
970
970
|
};
|
|
971
|
+
/**
|
|
972
|
+
* Model configuration setting keys used in character settings.
|
|
973
|
+
* These constants define the keys for accessing model parameters
|
|
974
|
+
* from character configuration with support for per-model-type settings.
|
|
975
|
+
*
|
|
976
|
+
* Setting Precedence (highest to lowest):
|
|
977
|
+
* 1. Parameters passed directly to useModel()
|
|
978
|
+
* 2. Model-specific settings (e.g., TEXT_SMALL_TEMPERATURE)
|
|
979
|
+
* 3. Default settings (e.g., DEFAULT_TEMPERATURE)
|
|
980
|
+
*
|
|
981
|
+
* Example character settings:
|
|
982
|
+
* ```
|
|
983
|
+
* settings: {
|
|
984
|
+
* DEFAULT_TEMPERATURE: 0.7, // Applies to all models
|
|
985
|
+
* TEXT_SMALL_TEMPERATURE: 0.5, // Overrides default for TEXT_SMALL
|
|
986
|
+
* TEXT_LARGE_MAX_TOKENS: 4096, // Specific to TEXT_LARGE
|
|
987
|
+
* OBJECT_SMALL_TEMPERATURE: 0.3, // Specific to OBJECT_SMALL
|
|
988
|
+
* }
|
|
989
|
+
* ```
|
|
990
|
+
*/
|
|
991
|
+
declare const MODEL_SETTINGS: {
|
|
992
|
+
readonly DEFAULT_MAX_TOKENS: "DEFAULT_MAX_TOKENS";
|
|
993
|
+
readonly DEFAULT_TEMPERATURE: "DEFAULT_TEMPERATURE";
|
|
994
|
+
readonly DEFAULT_FREQUENCY_PENALTY: "DEFAULT_FREQUENCY_PENALTY";
|
|
995
|
+
readonly DEFAULT_PRESENCE_PENALTY: "DEFAULT_PRESENCE_PENALTY";
|
|
996
|
+
readonly TEXT_SMALL_MAX_TOKENS: "TEXT_SMALL_MAX_TOKENS";
|
|
997
|
+
readonly TEXT_SMALL_TEMPERATURE: "TEXT_SMALL_TEMPERATURE";
|
|
998
|
+
readonly TEXT_SMALL_FREQUENCY_PENALTY: "TEXT_SMALL_FREQUENCY_PENALTY";
|
|
999
|
+
readonly TEXT_SMALL_PRESENCE_PENALTY: "TEXT_SMALL_PRESENCE_PENALTY";
|
|
1000
|
+
readonly TEXT_LARGE_MAX_TOKENS: "TEXT_LARGE_MAX_TOKENS";
|
|
1001
|
+
readonly TEXT_LARGE_TEMPERATURE: "TEXT_LARGE_TEMPERATURE";
|
|
1002
|
+
readonly TEXT_LARGE_FREQUENCY_PENALTY: "TEXT_LARGE_FREQUENCY_PENALTY";
|
|
1003
|
+
readonly TEXT_LARGE_PRESENCE_PENALTY: "TEXT_LARGE_PRESENCE_PENALTY";
|
|
1004
|
+
readonly OBJECT_SMALL_MAX_TOKENS: "OBJECT_SMALL_MAX_TOKENS";
|
|
1005
|
+
readonly OBJECT_SMALL_TEMPERATURE: "OBJECT_SMALL_TEMPERATURE";
|
|
1006
|
+
readonly OBJECT_SMALL_FREQUENCY_PENALTY: "OBJECT_SMALL_FREQUENCY_PENALTY";
|
|
1007
|
+
readonly OBJECT_SMALL_PRESENCE_PENALTY: "OBJECT_SMALL_PRESENCE_PENALTY";
|
|
1008
|
+
readonly OBJECT_LARGE_MAX_TOKENS: "OBJECT_LARGE_MAX_TOKENS";
|
|
1009
|
+
readonly OBJECT_LARGE_TEMPERATURE: "OBJECT_LARGE_TEMPERATURE";
|
|
1010
|
+
readonly OBJECT_LARGE_FREQUENCY_PENALTY: "OBJECT_LARGE_FREQUENCY_PENALTY";
|
|
1011
|
+
readonly OBJECT_LARGE_PRESENCE_PENALTY: "OBJECT_LARGE_PRESENCE_PENALTY";
|
|
1012
|
+
readonly MODEL_MAX_TOKEN: "MODEL_MAX_TOKEN";
|
|
1013
|
+
readonly MODEL_TEMPERATURE: "MODEL_TEMPERATURE";
|
|
1014
|
+
readonly MODEL_FREQ_PENALTY: "MODEL_FREQ_PENALTY";
|
|
1015
|
+
readonly MODEL_PRESENCE_PENALTY: "MODEL_PRESENCE_PENALTY";
|
|
1016
|
+
};
|
|
1017
|
+
/**
|
|
1018
|
+
* Helper to get the model-specific setting key for a given model type and parameter.
|
|
1019
|
+
* @param modelType The model type (e.g., TEXT_SMALL, TEXT_LARGE)
|
|
1020
|
+
* @param param The parameter name (e.g., MAX_TOKENS, TEMPERATURE)
|
|
1021
|
+
* @returns The appropriate setting key or null if not a supported model type
|
|
1022
|
+
*/
|
|
1023
|
+
declare function getModelSpecificSettingKey(modelType: ModelTypeName, param: 'MAX_TOKENS' | 'TEMPERATURE' | 'FREQUENCY_PENALTY' | 'PRESENCE_PENALTY'): string | null;
|
|
971
1024
|
/**
|
|
972
1025
|
* Parameters for generating text using a language model.
|
|
973
1026
|
* This structure is typically passed to `AgentRuntime.useModel` when the `modelType` is one of
|
|
@@ -3063,4 +3116,4 @@ declare namespace v2 {
|
|
|
3063
3116
|
export { Action$1 as Action, ActionEventPayload$1 as ActionEventPayload, ActionExample$1 as ActionExample, Agent$1 as Agent, v2_AgentRuntime as AgentRuntime, AgentStatus$1 as AgentStatus, AudioProcessingParams$1 as AudioProcessingParams, BaseMetadata$1 as BaseMetadata, BaseModelParams$1 as BaseModelParams, CacheKeyPrefix$1 as CacheKeyPrefix, ChannelClearedPayload$1 as ChannelClearedPayload, ChannelType$1 as ChannelType, Character$1 as Character, ChunkRow$1 as ChunkRow, Component$1 as Component, v2_ComponentData as ComponentData, Content$1 as Content, ContentType$1 as ContentType, ControlMessage$1 as ControlMessage, CustomMetadata$1 as CustomMetadata, v2_DatabaseAdapter as DatabaseAdapter, DbConnection$1 as DbConnection, v2_DeriveKeyAttestationData as DeriveKeyAttestationData, DescriptionMetadata$1 as DescriptionMetadata, DetokenizeTextParams$1 as DetokenizeTextParams, DirectoryItem$1 as DirectoryItem, DocumentMetadata$1 as DocumentMetadata, EmbeddingSearchResult$1 as EmbeddingSearchResult, EnhancedState$1 as EnhancedState, Entity$1 as Entity, EntityPayload$1 as EntityPayload, EvaluationExample$1 as EvaluationExample, Evaluator$1 as Evaluator, EvaluatorEventPayload$1 as EvaluatorEventPayload, v2_EventDataObject as EventDataObject, EventHandler$1 as EventHandler, EventPayload$1 as EventPayload, EventPayloadMap$1 as EventPayloadMap, EventType$1 as EventType, FragmentMetadata$1 as FragmentMetadata, GenerateTextParams$1 as GenerateTextParams, Handler$1 as Handler, HandlerCallback$1 as HandlerCallback, IAgentRuntime$1 as IAgentRuntime, IDatabaseAdapter$1 as IDatabaseAdapter, ImageDescriptionParams$1 as ImageDescriptionParams, ImageGenerationParams$1 as ImageGenerationParams, InvokePayload$1 as InvokePayload, IsValidServiceType$1 as IsValidServiceType, JSONSchema$1 as JSONSchema, KnowledgeItem$1 as KnowledgeItem, KnowledgeScope$1 as KnowledgeScope, Log$1 as Log, Media$1 as Media, Memory$1 as Memory, MemoryMetadata$1 as MemoryMetadata, MemoryRetrievalOptions$1 as MemoryRetrievalOptions, MemoryScope$1 as MemoryScope, MemorySearchOptions$1 as MemorySearchOptions, MemoryType$1 as MemoryType, MemoryTypeAlias$1 as MemoryTypeAlias, MessageExample$1 as MessageExample, MessageMemory$1 as MessageMemory, MessageMetadata$1 as MessageMetadata, MessagePayload$1 as MessagePayload, MessageReceivedHandlerParams$1 as MessageReceivedHandlerParams, v2_MetadataObject as MetadataObject, ModelEventPayload$1 as ModelEventPayload, ModelHandler$1 as ModelHandler, ModelParamsMap$1 as ModelParamsMap, ModelResultMap$1 as ModelResultMap, ModelType$1 as ModelType, ModelTypeName$1 as ModelTypeName, MultiRoomMemoryOptions$1 as MultiRoomMemoryOptions, ObjectGenerationParams$1 as ObjectGenerationParams, OnboardingConfig$1 as OnboardingConfig, Participant$1 as Participant, PlatformPrefix$1 as PlatformPrefix, Plugin$1 as Plugin, PluginEvents$1 as PluginEvents, Project$1 as Project, ProjectAgent$1 as ProjectAgent, Provider$1 as Provider, ProviderResult$1 as ProviderResult, Relationship$1 as Relationship, v2_RemoteAttestationMessage as RemoteAttestationMessage, v2_RemoteAttestationQuote as RemoteAttestationQuote, Role$1 as Role, Room$1 as Room, RoomMetadata$1 as RoomMetadata, Route$1 as Route, RunEventPayload$1 as RunEventPayload, RuntimeSettings$1 as RuntimeSettings, SOCKET_MESSAGE_TYPE$1 as SOCKET_MESSAGE_TYPE, v2_Semaphore as Semaphore, SendHandlerFunction$1 as SendHandlerFunction, type v2_ServerOwnershipState as ServerOwnershipState, Service$1 as Service, v2_ServiceBuilder as ServiceBuilder, ServiceClassMap$1 as ServiceClassMap, v2_ServiceConfig as ServiceConfig, type v2_ServiceDefinition as ServiceDefinition, ServiceError$1 as ServiceError, ServiceInstance$1 as ServiceInstance, ServiceRegistry$1 as ServiceRegistry, ServiceType$1 as ServiceType, ServiceTypeName$1 as ServiceTypeName, ServiceTypeRegistry$1 as ServiceTypeRegistry, ServiceTypeValue$1 as ServiceTypeValue, Setting$1 as Setting, State$1 as State, StateArray$1 as StateArray, StateObject$1 as StateObject, StateValue$1 as StateValue, v2_TEEMode as TEEMode, TargetInfo$1 as TargetInfo, Task$1 as Task, TaskMetadata$1 as TaskMetadata, TaskWorker$1 as TaskWorker, v2_TeeAgent as TeeAgent, v2_TeePluginConfig as TeePluginConfig, v2_TeeType as TeeType, v2_TeeVendorConfig as TeeVendorConfig, TemplateType$1 as TemplateType, TestCase$1 as TestCase, TestSuite$1 as TestSuite, TextEmbeddingParams$1 as TextEmbeddingParams, TextGenerationParams$1 as TextGenerationParams, TextToSpeechParams$1 as TextToSpeechParams, TokenizeTextParams$1 as TokenizeTextParams, TranscriptionParams$1 as TranscriptionParams, TypedEventHandler$1 as TypedEventHandler, TypedService$1 as TypedService, TypedServiceClass$1 as TypedServiceClass, UUID$1 as UUID, UnifiedMemoryOptions$1 as UnifiedMemoryOptions, UnifiedSearchOptions$1 as UnifiedSearchOptions, VECTOR_DIMS$1 as VECTOR_DIMS, Validator$1 as Validator, VideoProcessingParams$1 as VideoProcessingParams, World$1 as World, WorldPayload$1 as WorldPayload, WorldSettings$1 as WorldSettings, v2_addHeader as addHeader, asUUID$1 as asUUID, v2_booleanFooter as booleanFooter, v2_composeActionExamples as composeActionExamples, v2_composePrompt as composePrompt, v2_composePromptFromState as composePromptFromState, createMessageMemory$1 as createMessageMemory, v2_createService as createService, createServiceError$1 as createServiceError, v2_createSettingFromConfig as createSettingFromConfig, v2_createUniqueUuid as createUniqueUuid, v2_decryptObjectValues as decryptObjectValues, decryptStringValue as decryptSecret, v2_decryptStringValue as decryptStringValue, v2_decryptedCharacter as decryptedCharacter, v2_defineService as defineService, v2_elizaLogger as elizaLogger, v2_encryptObjectValues as encryptObjectValues, v2_encryptStringValue as encryptStringValue, v2_encryptedCharacter as encryptedCharacter, v2_findEntityByName as findEntityByName, v2_findWorldsForOwner as findWorldsForOwner, v2_formatActionNames as formatActionNames, v2_formatActions as formatActions, v2_formatEntities as formatEntities, v2_formatMessages as formatMessages, v2_formatPosts as formatPosts, v2_formatTimestamp as formatTimestamp, v2_getEntityDetails as getEntityDetails, getMemoryText$1 as getMemoryText, v2_getSalt as getSalt, getTypedService$1 as getTypedService, v2_getUserServerRole as getUserServerRole, v2_getWorldSettings as getWorldSettings, v2_imageDescriptionTemplate as imageDescriptionTemplate, v2_initializeOnboarding as initializeOnboarding, isCustomMetadata$1 as isCustomMetadata, isDescriptionMetadata$1 as isDescriptionMetadata, isDocumentMemory$1 as isDocumentMemory, isDocumentMetadata$1 as isDocumentMetadata, isFragmentMemory$1 as isFragmentMemory, isFragmentMetadata$1 as isFragmentMetadata, isMessageMetadata$1 as isMessageMetadata, v2_logger as logger, v2_messageHandlerTemplate as messageHandlerTemplate, v2_parseBooleanFromText as parseBooleanFromText, v2_parseJSONObjectFromText as parseJSONObjectFromText, v2_parseKeyValueXml as parseKeyValueXml, v2_postCreationTemplate as postCreationTemplate, v2_safeReplacer as safeReplacer, v2_saltSettingValue as saltSettingValue, v2_saltWorldSettings as saltWorldSettings, v2_shouldRespondTemplate as shouldRespondTemplate, v2_stringToUuid as stringToUuid, v2_trimTokens as trimTokens, v2_truncateToCompleteSentence as truncateToCompleteSentence, v2_unsaltSettingValue as unsaltSettingValue, v2_unsaltWorldSettings as unsaltWorldSettings, v2_updateWorldSettings as updateWorldSettings, v2_validateUuid as validateUuid };
|
|
3064
3117
|
}
|
|
3065
3118
|
|
|
3066
|
-
export { type FragmentMetadata as $, type Action as A, type WorldSettings as B, ContentType as C, v2 as D, type Entity as E, asUUID as F, type Media as G, type HandlerCallback as H, type IAgentRuntime as I, type StateValue as J, type StateObject as K, type Log as L, type Metadata as M, type StateArray as N, type OnboardingConfig as O, type Participant as P, type EnhancedState as Q, type Room as R, Service as S, type TemplateType as T, type UUID as U, type MemoryTypeAlias as V, type World as W, MemoryType as X, type MemoryScope as Y, type BaseMetadata as Z, type DocumentMetadata as _, type State as a, type
|
|
3119
|
+
export { type FragmentMetadata as $, type Action as A, type WorldSettings as B, ContentType as C, v2 as D, type Entity as E, asUUID as F, type Media as G, type HandlerCallback as H, type IAgentRuntime as I, type StateValue as J, type StateObject as K, type Log as L, type Metadata as M, type StateArray as N, type OnboardingConfig as O, type Participant as P, type EnhancedState as Q, type Room as R, Service as S, type TemplateType as T, type UUID as U, type MemoryTypeAlias as V, type World as W, MemoryType as X, type MemoryScope as Y, type BaseMetadata as Z, type DocumentMetadata as _, type State as a, type MemorySearchOptions as a$, type MessageMetadata as a0, type DescriptionMetadata as a1, type CustomMetadata as a2, type MessageMemory as a3, createMessageMemory as a4, isDocumentMetadata as a5, isFragmentMetadata as a6, isMessageMetadata as a7, isDescriptionMetadata as a8, isCustomMetadata as a9, type ServiceClassMap as aA, type ServiceInstance as aB, type ServiceRegistry as aC, ServiceType as aD, type TypedService as aE, getTypedService as aF, type ServiceError as aG, createServiceError as aH, ModelType as aI, MODEL_SETTINGS as aJ, getModelSpecificSettingKey as aK, type GenerateTextParams as aL, type DetokenizeTextParams as aM, type BaseModelParams as aN, type TextGenerationParams as aO, type TextEmbeddingParams as aP, type TokenizeTextParams as aQ, type ImageGenerationParams as aR, type ImageDescriptionParams as aS, type TranscriptionParams as aT, type TextToSpeechParams as aU, type AudioProcessingParams as aV, type VideoProcessingParams as aW, type JSONSchema as aX, type ObjectGenerationParams as aY, type EmbeddingSearchResult as aZ, type MemoryRetrievalOptions as a_, isDocumentMemory as aa, isFragmentMemory as ab, getMemoryText as ac, type KnowledgeItem as ad, KnowledgeScope as ae, CacheKeyPrefix as af, type DirectoryItem as ag, type ChunkRow as ah, type RoomMetadata as ai, type MessageExample as aj, AgentStatus as ak, type ActionExample as al, type Handler as am, type Validator as an, type EvaluationExample as ao, type ProviderResult as ap, type ActionResult as aq, type ActionContext as ar, createActionResult as as, type PluginEvents as at, type ProjectAgent as au, type Project as av, type ServiceTypeRegistry as aw, type ServiceTypeValue as ax, type IsValidServiceType as ay, type TypedServiceClass as az, type Memory as b, encryptObjectValues as b$, type MultiRoomMemoryOptions as b0, type UnifiedMemoryOptions as b1, type UnifiedSearchOptions as b2, type DbConnection as b3, VECTOR_DIMS as b4, EventType as b5, PlatformPrefix as b6, type EventPayload as b7, type WorldPayload as b8, type EntityPayload as b9, getEntityDetails as bA, formatEntities as bB, logger as bC, elizaLogger as bD, shouldRespondTemplate as bE, messageHandlerTemplate as bF, postCreationTemplate as bG, booleanFooter as bH, imageDescriptionTemplate as bI, type ServerOwnershipState as bJ, getUserServerRole as bK, findWorldsForOwner as bL, Semaphore as bM, AgentRuntime as bN, decryptStringValue as bO, createSettingFromConfig as bP, getSalt as bQ, encryptStringValue as bR, saltSettingValue as bS, unsaltSettingValue as bT, saltWorldSettings as bU, unsaltWorldSettings as bV, updateWorldSettings as bW, getWorldSettings as bX, initializeOnboarding as bY, encryptedCharacter as bZ, decryptedCharacter as b_, type MessagePayload as ba, type ChannelClearedPayload as bb, type InvokePayload as bc, type RunEventPayload as bd, type ActionEventPayload as be, type EvaluatorEventPayload as bf, type ModelEventPayload as bg, type MessageReceivedHandlerParams as bh, type EventPayloadMap as bi, type EventHandler as bj, type TypedEventHandler as bk, type TaskMetadata as bl, SOCKET_MESSAGE_TYPE as bm, type ControlMessage as bn, type TestCase as bo, type TestSuite as bp, ServiceBuilder$1 as bq, createService$1 as br, type ServiceDefinition$1 as bs, defineService$1 as bt, composeActionExamples as bu, formatActionNames as bv, formatActions as bw, DatabaseAdapter as bx, findEntityByName as by, createUniqueUuid as bz, type Character as c, decryptObjectValues as c0, composePrompt as c1, composePromptFromState as c2, addHeader as c3, formatPosts as c4, formatMessages as c5, formatTimestamp as c6, validateUuid as c7, stringToUuid as c8, truncateToCompleteSentence as c9, parseKeyValueXml as ca, parseJSONObjectFromText as cb, parseBooleanFromText as cc, safeReplacer as cd, trimTokens as ce, ServiceBuilder as cf, createService as cg, type ServiceDefinition as ch, defineService as ci, type IDatabaseAdapter as d, type Component as e, type MemoryMetadata as f, type Relationship as g, type Agent as h, type Task as i, Role as j, type Evaluator as k, type Provider as l, type Plugin as m, type ServiceTypeName as n, type ModelHandler as o, type Route as p, type RuntimeSettings as q, ChannelType as r, type ModelTypeName as s, type ModelResultMap as t, type ModelParamsMap as u, type TaskWorker as v, type SendHandlerFunction as w, type TargetInfo as x, type Content as y, type Setting as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Metadata, S as Service, U as UUID, T as TemplateType, a as State, b as Memory, E as Entity, I as IAgentRuntime, C as ContentType, c as Character, A as Action, d as IDatabaseAdapter, e as Component, L as Log, f as MemoryMetadata, W as World, R as Room, P as Participant, g as Relationship, h as Agent, i as Task, j as Role, k as Evaluator, l as Provider, m as Plugin, n as ServiceTypeName, o as ModelHandler, p as Route, q as RuntimeSettings, H as HandlerCallback, r as ChannelType, s as ModelTypeName, t as ModelResultMap, u as ModelParamsMap, v as TaskWorker, w as SendHandlerFunction, x as TargetInfo, y as Content, z as Setting, B as WorldSettings, O as OnboardingConfig, D as v2 } from './index-
|
|
2
|
-
export { ar as ActionContext,
|
|
1
|
+
import { M as Metadata, S as Service, U as UUID, T as TemplateType, a as State, b as Memory, E as Entity, I as IAgentRuntime, C as ContentType, c as Character, A as Action, d as IDatabaseAdapter, e as Component, L as Log, f as MemoryMetadata, W as World, R as Room, P as Participant, g as Relationship, h as Agent, i as Task, j as Role, k as Evaluator, l as Provider, m as Plugin, n as ServiceTypeName, o as ModelHandler, p as Route, q as RuntimeSettings, H as HandlerCallback, r as ChannelType, s as ModelTypeName, t as ModelResultMap, u as ModelParamsMap, v as TaskWorker, w as SendHandlerFunction, x as TargetInfo, y as Content, z as Setting, B as WorldSettings, O as OnboardingConfig, D as v2 } from './index-D-EzHFvJ.js';
|
|
2
|
+
export { ar as ActionContext, be as ActionEventPayload, al as ActionExample, aq as ActionResult, ak as AgentStatus, aV as AudioProcessingParams, Z as BaseMetadata, aN as BaseModelParams, af as CacheKeyPrefix, bb as ChannelClearedPayload, ah as ChunkRow, bn as ControlMessage, a2 as CustomMetadata, b3 as DbConnection, a1 as DescriptionMetadata, aM as DetokenizeTextParams, ag as DirectoryItem, _ as DocumentMetadata, aZ as EmbeddingSearchResult, Q as EnhancedState, b9 as EntityPayload, ao as EvaluationExample, bf as EvaluatorEventPayload, bj as EventHandler, b7 as EventPayload, bi as EventPayloadMap, b5 as EventType, $ as FragmentMetadata, aL as GenerateTextParams, am as Handler, aS as ImageDescriptionParams, aR as ImageGenerationParams, bc as InvokePayload, ay as IsValidServiceType, aX as JSONSchema, ad as KnowledgeItem, ae as KnowledgeScope, aJ as MODEL_SETTINGS, G as Media, a_ as MemoryRetrievalOptions, Y as MemoryScope, a$ as MemorySearchOptions, X as MemoryType, V as MemoryTypeAlias, aj as MessageExample, a3 as MessageMemory, a0 as MessageMetadata, ba as MessagePayload, bh as MessageReceivedHandlerParams, bg as ModelEventPayload, aI as ModelType, b0 as MultiRoomMemoryOptions, aY as ObjectGenerationParams, b6 as PlatformPrefix, at as PluginEvents, av as Project, au as ProjectAgent, ap as ProviderResult, ai as RoomMetadata, bd as RunEventPayload, bm as SOCKET_MESSAGE_TYPE, bq as ServiceBuilder, aA as ServiceClassMap, bs as ServiceDefinition, aG as ServiceError, aB as ServiceInstance, aC as ServiceRegistry, aD as ServiceType, aw as ServiceTypeRegistry, ax as ServiceTypeValue, N as StateArray, K as StateObject, J as StateValue, bl as TaskMetadata, bo as TestCase, bp as TestSuite, aP as TextEmbeddingParams, aO as TextGenerationParams, aU as TextToSpeechParams, aQ as TokenizeTextParams, aT as TranscriptionParams, bk as TypedEventHandler, aE as TypedService, az as TypedServiceClass, b1 as UnifiedMemoryOptions, b2 as UnifiedSearchOptions, b4 as VECTOR_DIMS, an as Validator, aW as VideoProcessingParams, b8 as WorldPayload, F as asUUID, as as createActionResult, a4 as createMessageMemory, br as createService, aH as createServiceError, bt as defineService, ac as getMemoryText, aK as getModelSpecificSettingKey, aF as getTypedService, a9 as isCustomMetadata, a8 as isDescriptionMetadata, aa as isDocumentMemory, a5 as isDocumentMetadata, ab as isFragmentMemory, a6 as isFragmentMetadata, a7 as isMessageMetadata } from './index-D-EzHFvJ.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import * as pino from 'pino';
|
|
5
5
|
import * as browser from '@sentry/browser';
|
|
@@ -2560,6 +2560,19 @@ declare class AgentRuntime implements IAgentRuntime {
|
|
|
2560
2560
|
registerService(serviceDef: typeof Service): Promise<void>;
|
|
2561
2561
|
registerModel(modelType: ModelTypeName, handler: (params: any) => Promise<any>, provider: string, priority?: number): void;
|
|
2562
2562
|
getModel(modelType: ModelTypeName, provider?: string): ((runtime: IAgentRuntime, params: any) => Promise<any>) | undefined;
|
|
2563
|
+
/**
|
|
2564
|
+
* Retrieves model configuration settings from character settings with support for
|
|
2565
|
+
* model-specific overrides and default fallbacks.
|
|
2566
|
+
*
|
|
2567
|
+
* Precedence order (highest to lowest):
|
|
2568
|
+
* 1. Model-specific settings (e.g., TEXT_SMALL_TEMPERATURE)
|
|
2569
|
+
* 2. Default settings (e.g., DEFAULT_TEMPERATURE)
|
|
2570
|
+
* 3. Legacy settings for backwards compatibility (e.g., MODEL_TEMPERATURE)
|
|
2571
|
+
*
|
|
2572
|
+
* @param modelType The specific model type to get settings for
|
|
2573
|
+
* @returns Object containing model parameters if they exist, or null if no settings are configured
|
|
2574
|
+
*/
|
|
2575
|
+
private getModelSettings;
|
|
2563
2576
|
useModel<T extends ModelTypeName, R = ModelResultMap[T]>(modelType: T, params: Omit<ModelParamsMap[T], 'runtime'> | any, provider?: string): Promise<R>;
|
|
2564
2577
|
registerEvent(event: string, handler: (params: any) => Promise<void>): void;
|
|
2565
2578
|
getEvent(event: string): ((params: any) => Promise<void>)[] | undefined;
|
package/dist/index.js
CHANGED
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
IWalletService,
|
|
19
19
|
IWebSearchService,
|
|
20
20
|
KnowledgeScope,
|
|
21
|
+
MODEL_SETTINGS,
|
|
21
22
|
MemoryType,
|
|
22
23
|
ModelType,
|
|
23
24
|
PlatformPrefix,
|
|
@@ -66,6 +67,7 @@ import {
|
|
|
66
67
|
getEntityDetails,
|
|
67
68
|
getLocalServerUrl,
|
|
68
69
|
getMemoryText,
|
|
70
|
+
getModelSpecificSettingKey,
|
|
69
71
|
getSalt,
|
|
70
72
|
getTypedService,
|
|
71
73
|
getUserServerRole,
|
|
@@ -103,7 +105,7 @@ import {
|
|
|
103
105
|
v2_exports,
|
|
104
106
|
validateCharacter,
|
|
105
107
|
validateUuid
|
|
106
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-2KW7KWYC.js";
|
|
107
109
|
import "./chunk-2HSL25IJ.js";
|
|
108
110
|
import "./chunk-WO7Z3GE6.js";
|
|
109
111
|
import "./chunk-U2ADTLZY.js";
|
|
@@ -130,6 +132,7 @@ export {
|
|
|
130
132
|
IWalletService,
|
|
131
133
|
IWebSearchService,
|
|
132
134
|
KnowledgeScope,
|
|
135
|
+
MODEL_SETTINGS,
|
|
133
136
|
MemoryType,
|
|
134
137
|
ModelType,
|
|
135
138
|
PlatformPrefix,
|
|
@@ -179,6 +182,7 @@ export {
|
|
|
179
182
|
getEntityDetails,
|
|
180
183
|
getLocalServerUrl,
|
|
181
184
|
getMemoryText,
|
|
185
|
+
getModelSpecificSettingKey,
|
|
182
186
|
getSalt,
|
|
183
187
|
getTypedService,
|
|
184
188
|
getUserServerRole,
|
package/dist/specs/v1/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatMessages3 as formatMessages,
|
|
4
4
|
formatTimestamp3 as formatTimestamp,
|
|
5
5
|
getActorDetails
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-2KW7KWYC.js";
|
|
7
7
|
import "../../chunk-2HSL25IJ.js";
|
|
8
8
|
import "../../chunk-WO7Z3GE6.js";
|
|
9
9
|
import "../../chunk-U2ADTLZY.js";
|
package/dist/specs/v1/posts.js
CHANGED
package/dist/specs/v1/runtime.js
CHANGED
package/dist/specs/v1/uuid.js
CHANGED
package/dist/specs/v2/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { a as Action, w as ActionEventPayload, A as ActionExample, f as Agent, x as AgentStatus, y as AudioProcessingParams, B as BaseMetadata, z as BaseModelParams, D as CacheKeyPrefix, F as ChannelClearedPayload, G as ChannelType, l as Character, J as ChunkRow, b as Component, K as ComponentData, C as Content, N as ContentType, O as ControlMessage, Q as CustomMetadata, V as DbConnection, X as DeriveKeyAttestationData, Y as DescriptionMetadata, Z as DetokenizeTextParams, _ as DirectoryItem, $ as DocumentMetadata, a0 as EmbeddingSearchResult, a1 as EnhancedState, E as Entity, a2 as EntityPayload, a3 as EvaluationExample, m as Evaluator, a4 as EvaluatorEventPayload, a5 as EventDataObject, a6 as EventHandler, a7 as EventPayload, a8 as EventPayloadMap, a9 as EventType, aa as FragmentMetadata, ab as GenerateTextParams, ac as Handler, H as HandlerCallback, g as IAgentRuntime, I as IDatabaseAdapter, ad as ImageDescriptionParams, ae as ImageGenerationParams, af as InvokePayload, ag as IsValidServiceType, ah as JSONSchema, ai as KnowledgeItem, aj as KnowledgeScope, L as Log, ak as Media, M as Memory, c as MemoryMetadata, al as MemoryRetrievalOptions, am as MemoryScope, an as MemorySearchOptions, ao as MemoryType, ap as MemoryTypeAlias, aq as MessageExample, ar as MessageMemory, as as MessageMetadata, at as MessagePayload, au as MessageReceivedHandlerParams, av as MetadataObject, aw as ModelEventPayload, ax as ModelHandler, r as ModelParamsMap, q as ModelResultMap, ay as ModelType, p as ModelTypeName, az as MultiRoomMemoryOptions, aA as ObjectGenerationParams, aB as OnboardingConfig, d as Participant, aC as PlatformPrefix, n as Plugin, aD as PluginEvents, aE as Project, aF as ProjectAgent, P as Provider, aG as ProviderResult, e as Relationship, aH as RemoteAttestationMessage, aI as RemoteAttestationQuote, h as Role, R as Room, aJ as RoomMetadata, k as Route, aK as RunEventPayload, o as RuntimeSettings, aL as SOCKET_MESSAGE_TYPE, t as SendHandlerFunction, j as Service, aM as ServiceClassMap, aN as ServiceConfig, aO as ServiceError, aP as ServiceInstance, aQ as ServiceRegistry, aR as ServiceType, i as ServiceTypeName, aS as ServiceTypeRegistry, aT as ServiceTypeValue, aU as Setting, S as State, aV as StateArray, aW as StateObject, aX as StateValue, aY as TEEMode, u as TargetInfo, T as Task, aZ as TaskMetadata, s as TaskWorker, a_ as TeeAgent, a$ as TeePluginConfig, b0 as TeeType, b1 as TeeVendorConfig, v as TemplateType, b2 as TestCase, b3 as TestSuite, b4 as TextEmbeddingParams, b5 as TextGenerationParams, b6 as TextToSpeechParams, b7 as TokenizeTextParams, b8 as TranscriptionParams, b9 as TypedEventHandler, ba as TypedService, bb as TypedServiceClass, U as UUID, bc as UnifiedMemoryOptions, bd as UnifiedSearchOptions, be as VECTOR_DIMS, bf as Validator, bg as VideoProcessingParams, W as World, bh as WorldPayload, bi as WorldSettings, bj as asUUID, bk as createMessageMemory, bl as createServiceError, bm as getMemoryText, bn as getTypedService, bo as isCustomMetadata, bp as isDescriptionMetadata, bq as isDocumentMemory, br as isDocumentMetadata, bs as isFragmentMemory, bt as isFragmentMetadata, bu as isMessageMetadata } from '../../types-DIUaglro.js';
|
|
2
|
-
export {
|
|
2
|
+
export { bN as AgentRuntime, bx as DatabaseAdapter, bM as Semaphore, bJ as ServerOwnershipState, cf as ServiceBuilder, ch as ServiceDefinition, c3 as addHeader, bH as booleanFooter, bu as composeActionExamples, c1 as composePrompt, c2 as composePromptFromState, cg as createService, bP as createSettingFromConfig, bz as createUniqueUuid, c0 as decryptObjectValues, bO as decryptSecret, bO as decryptStringValue, b_ as decryptedCharacter, ci as defineService, bD as elizaLogger, b$ as encryptObjectValues, bR as encryptStringValue, bZ as encryptedCharacter, by as findEntityByName, bL as findWorldsForOwner, bv as formatActionNames, bw as formatActions, bB as formatEntities, c5 as formatMessages, c4 as formatPosts, c6 as formatTimestamp, bA as getEntityDetails, bQ as getSalt, bK as getUserServerRole, bX as getWorldSettings, bI as imageDescriptionTemplate, bY as initializeOnboarding, bC as logger, bF as messageHandlerTemplate, cc as parseBooleanFromText, cb as parseJSONObjectFromText, ca as parseKeyValueXml, bG as postCreationTemplate, cd as safeReplacer, bS as saltSettingValue, bU as saltWorldSettings, bE as shouldRespondTemplate, c8 as stringToUuid, ce as trimTokens, c9 as truncateToCompleteSentence, bT as unsaltSettingValue, bV as unsaltWorldSettings, bW as updateWorldSettings, c7 as validateUuid } from '../../index-D-EzHFvJ.js';
|
package/dist/specs/v2/index.js
CHANGED
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
unsaltWorldSettings2 as unsaltWorldSettings,
|
|
79
79
|
updateWorldSettings2 as updateWorldSettings,
|
|
80
80
|
validateUuid2 as validateUuid
|
|
81
|
-
} from "../../chunk-
|
|
81
|
+
} from "../../chunk-2KW7KWYC.js";
|
|
82
82
|
import "../../chunk-2HSL25IJ.js";
|
|
83
83
|
import "../../chunk-WO7Z3GE6.js";
|
|
84
84
|
import "../../chunk-U2ADTLZY.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
"typescript": "5.8.3"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@langchain/core": ">=0.3.0 <0.4.0",
|
|
59
58
|
"@sentry/browser": "^9.22.0",
|
|
60
59
|
"buffer": "^6.0.3",
|
|
61
60
|
"crypto-browserify": "^3.12.1",
|
|
@@ -76,5 +75,5 @@
|
|
|
76
75
|
"publishConfig": {
|
|
77
76
|
"access": "public"
|
|
78
77
|
},
|
|
79
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "c4e30a38836ac4bed81c671239377685892ebdf5"
|
|
80
79
|
}
|