From 3050b67d3a3bb18bf6788ad9e2ae1ddc54781a18 Mon Sep 17 00:00:00 2001 From: Waldek Mastykarz Date: Wed, 5 Feb 2025 14:01:08 +0100 Subject: [PATCH] Adds filterByHeaders and languageModel to schema. Fixes #977 --- schemas/v0.19.0/rc.schema.json | 35 ++++++++++++++++++++++++++++++++++ schemas/v0.19.1/rc.schema.json | 35 ++++++++++++++++++++++++++++++++++ schemas/v0.20.0/rc.schema.json | 35 ++++++++++++++++++++++++++++++++++ schemas/v0.20.1/rc.schema.json | 35 ++++++++++++++++++++++++++++++++++ schemas/v0.21.0/rc.schema.json | 35 ++++++++++++++++++++++++++++++++++ schemas/v0.22.0/rc.schema.json | 35 ++++++++++++++++++++++++++++++++++ schemas/v0.23.0/rc.schema.json | 35 ++++++++++++++++++++++++++++++++++ schemas/v0.24.0/rc.schema.json | 35 ++++++++++++++++++++++++++++++++++ 8 files changed, 280 insertions(+) diff --git a/schemas/v0.19.0/rc.schema.json b/schemas/v0.19.0/rc.schema.json index 8b1b23c2..59855de6 100644 --- a/schemas/v0.19.0/rc.schema.json +++ b/schemas/v0.19.0/rc.schema.json @@ -10,10 +10,45 @@ "asSystemProxy": { "type": "boolean" }, + "filterByHeaders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + } + }, "ipAddress": { "type": "string", "format": "ipv4" }, + "languageModel": { + "type": "object", + "properties": { + "cacheResponses": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "model": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, "logLevel": { "type": "string", "enum": [ diff --git a/schemas/v0.19.1/rc.schema.json b/schemas/v0.19.1/rc.schema.json index 8b1b23c2..59855de6 100644 --- a/schemas/v0.19.1/rc.schema.json +++ b/schemas/v0.19.1/rc.schema.json @@ -10,10 +10,45 @@ "asSystemProxy": { "type": "boolean" }, + "filterByHeaders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + } + }, "ipAddress": { "type": "string", "format": "ipv4" }, + "languageModel": { + "type": "object", + "properties": { + "cacheResponses": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "model": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, "logLevel": { "type": "string", "enum": [ diff --git a/schemas/v0.20.0/rc.schema.json b/schemas/v0.20.0/rc.schema.json index a625db62..a69b560c 100644 --- a/schemas/v0.20.0/rc.schema.json +++ b/schemas/v0.20.0/rc.schema.json @@ -15,10 +15,45 @@ "asSystemProxy": { "type": "boolean" }, + "filterByHeaders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + } + }, "ipAddress": { "type": "string", "format": "ipv4" }, + "languageModel": { + "type": "object", + "properties": { + "cacheResponses": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "model": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, "logLevel": { "type": "string", "enum": [ diff --git a/schemas/v0.20.1/rc.schema.json b/schemas/v0.20.1/rc.schema.json index a625db62..a69b560c 100644 --- a/schemas/v0.20.1/rc.schema.json +++ b/schemas/v0.20.1/rc.schema.json @@ -15,10 +15,45 @@ "asSystemProxy": { "type": "boolean" }, + "filterByHeaders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + } + }, "ipAddress": { "type": "string", "format": "ipv4" }, + "languageModel": { + "type": "object", + "properties": { + "cacheResponses": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "model": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, "logLevel": { "type": "string", "enum": [ diff --git a/schemas/v0.21.0/rc.schema.json b/schemas/v0.21.0/rc.schema.json index a625db62..a69b560c 100644 --- a/schemas/v0.21.0/rc.schema.json +++ b/schemas/v0.21.0/rc.schema.json @@ -15,10 +15,45 @@ "asSystemProxy": { "type": "boolean" }, + "filterByHeaders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + } + }, "ipAddress": { "type": "string", "format": "ipv4" }, + "languageModel": { + "type": "object", + "properties": { + "cacheResponses": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "model": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, "logLevel": { "type": "string", "enum": [ diff --git a/schemas/v0.22.0/rc.schema.json b/schemas/v0.22.0/rc.schema.json index 38af44ae..ca2808e7 100644 --- a/schemas/v0.22.0/rc.schema.json +++ b/schemas/v0.22.0/rc.schema.json @@ -15,10 +15,45 @@ "asSystemProxy": { "type": "boolean" }, + "filterByHeaders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + } + }, "ipAddress": { "type": "string", "format": "ipv4" }, + "languageModel": { + "type": "object", + "properties": { + "cacheResponses": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "model": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, "logLevel": { "type": "string", "enum": [ diff --git a/schemas/v0.23.0/rc.schema.json b/schemas/v0.23.0/rc.schema.json index 38af44ae..ca2808e7 100644 --- a/schemas/v0.23.0/rc.schema.json +++ b/schemas/v0.23.0/rc.schema.json @@ -15,10 +15,45 @@ "asSystemProxy": { "type": "boolean" }, + "filterByHeaders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + } + }, "ipAddress": { "type": "string", "format": "ipv4" }, + "languageModel": { + "type": "object", + "properties": { + "cacheResponses": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "model": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, "logLevel": { "type": "string", "enum": [ diff --git a/schemas/v0.24.0/rc.schema.json b/schemas/v0.24.0/rc.schema.json index f3c0e259..39b40cdf 100644 --- a/schemas/v0.24.0/rc.schema.json +++ b/schemas/v0.24.0/rc.schema.json @@ -15,10 +15,45 @@ "asSystemProxy": { "type": "boolean" }, + "filterByHeaders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + } + }, "ipAddress": { "type": "string", "format": "ipv4" }, + "languageModel": { + "type": "object", + "properties": { + "cacheResponses": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "model": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, "logLevel": { "type": "string", "enum": [