Merge pull request #852 from arc53/feat/premaillm

fix: docsgpt provider
This commit is contained in:
Alex
2024-02-13 15:20:05 +00:00
committed by GitHub

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