@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.
@@ -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);