fix: docsgpt provider

This commit is contained in:
Alex
2024-02-13 15:06:52 +00:00
parent b7927d8d75
commit ee06fa85f1

View File

@@ -20,7 +20,7 @@ class DocsGPTAPILLM(BaseLLM):
"max_new_tokens": 30
}
)
response_clean = response.json()['a'].split("###")[0]
response_clean = response.json()['a'].replace("###", "")
return response_clean