mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
Merge pull request #852 from arc53/feat/premaillm
fix: docsgpt provider
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user