@jeffusion/bungee-core 6.7.3 → 6.8.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/dist/config-storage-worker.js +1 -1
- package/dist/main.js +74 -66
- package/dist/plugins/codex-router/index.js +4 -4
- package/dist/plugins/codex-router/index.js.map +5 -5
- package/dist/plugins/llm-protocol-adapter/control.js +295 -47
- package/dist/plugins/llm-protocol-adapter/control.js.map +9 -8
- package/dist/plugins/llm-protocol-adapter/index.js +304 -48
- package/dist/plugins/llm-protocol-adapter/index.js.map +10 -9
- package/dist/plugins/llm-protocol-adapter/manifest.json +4 -0
- package/dist/plugins/token-metering/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -7139,7 +7139,7 @@ function fieldValueSatisfies(field, value) {
|
|
|
7139
7139
|
valid = Array.isArray(value) && modelMappings(value) && (!field.required || value.length > 0);
|
|
7140
7140
|
break;
|
|
7141
7141
|
case "gateway_target":
|
|
7142
|
-
valid = objectValue(value) && Object.keys(value).every((key) => ["type", "id", "protocol"].includes(key)) && (value.protocol === undefined || ["responses", "chat_completions", "anthropic_messages"].includes(value.protocol)) && ["route", "service"].includes(value.type) && typeof value.id === "string" && value.id.length > 0;
|
|
7142
|
+
valid = objectValue(value) && Object.keys(value).every((key) => ["type", "id", "protocol"].includes(key)) && (value.protocol === undefined || ["responses", "chat_completions", "anthropic_messages", "gemini_generate_content"].includes(value.protocol)) && ["route", "service"].includes(value.type) && typeof value.id === "string" && value.id.length > 0;
|
|
7143
7143
|
break;
|
|
7144
7144
|
case "json":
|
|
7145
7145
|
valid = typeof value !== "string" || validJsonString(value);
|