@axiom-lattice/protocols 6.0.0 → 6.2.0
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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +20 -0
- package/dist/index.d.mts +41 -1
- package/dist/index.d.ts +41 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/ModelLatticeProtocol.ts +10 -0
- package/src/ModelProviderProtocol.ts +32 -0
package/dist/index.mjs
CHANGED
|
@@ -143,6 +143,9 @@ function assertGenericProjectConfig(config) {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
// src/ModelProviderProtocol.ts
|
|
146
|
+
var DEFAULT_MODEL_KEY = "default";
|
|
147
|
+
var EMBEDDING_DEFAULT_KEY = "default:embedding";
|
|
148
|
+
var ASR_DEFAULT_KEY = "default:asr";
|
|
146
149
|
function toModelKey(providerId, modelId) {
|
|
147
150
|
return `${providerId}/${modelId}`;
|
|
148
151
|
}
|
|
@@ -1144,12 +1147,15 @@ export {
|
|
|
1144
1147
|
AFFINITY_ECHO_HEADER,
|
|
1145
1148
|
AFFINITY_MISS_CODE,
|
|
1146
1149
|
AGENT_AFFINITY_HEADER,
|
|
1150
|
+
ASR_DEFAULT_KEY,
|
|
1147
1151
|
AgentType,
|
|
1148
1152
|
CHANNEL_REPLY_JOB_LIST_LIMIT_DEFAULT,
|
|
1149
1153
|
CHANNEL_REPLY_JOB_LIST_LIMIT_MAX,
|
|
1150
1154
|
CHANNEL_REPLY_JOB_LIST_LIMIT_MIN,
|
|
1151
1155
|
ChannelBindingMigrationConflictError,
|
|
1156
|
+
DEFAULT_MODEL_KEY,
|
|
1152
1157
|
DuplicateChannelBindingSubjectError,
|
|
1158
|
+
EMBEDDING_DEFAULT_KEY,
|
|
1153
1159
|
EXECUTION_RESULT_EVENT_KEY_PATTERN,
|
|
1154
1160
|
EXECUTION_RESULT_EVENT_KEY_PATTERN_SOURCE,
|
|
1155
1161
|
EXECUTION_RESULT_EVENT_KEY_PREFIX,
|