mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-12 20:15:26 +00:00
fix: docsgpt provider
This commit is contained in:
1 parent
b7927d8d75
commit
ee06fa85f1
1 file changed
+1
-1
@@ -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