From 8239a110dc8acd06bdb2ec87f6338a684c8d21d4 Mon Sep 17 00:00:00 2001 From: MoyiTech Date: Wed, 6 Mar 2024 00:44:19 +0800 Subject: [PATCH] feat: fix JSONDecodeError error caused by incorrect indentation used in repair_llm.output in config2.example.yaml --- config/config2.example.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/config2.example.yaml b/config/config2.example.yaml index a17d174b3..3a5cc3585 100644 --- a/config/config2.example.yaml +++ b/config/config2.example.yaml @@ -3,7 +3,6 @@ llm: base_url: "YOUR_BASE_URL" api_key: "YOUR_API_KEY" model: "gpt-4-turbo-preview" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview - repair_llm_output: true # when the output is not a valid json, try to repair it proxy: "YOUR_PROXY" # for LLM API requests pricing_plan: "" # Optional. If invalid, it will be automatically filled in with the value of the `model`. # Azure-exclusive pricing plan mappings: @@ -13,6 +12,8 @@ llm: # - gpt-4 8k: "gpt-4" # See for more: https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/ +repair_llm_output: true # when the output is not a valid json, try to repair it + proxy: "YOUR_PROXY" # for tools like requests, playwright, selenium, etc. search: