本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
OpenSource
/
dify
關注
4
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
152
Wiki
活動
瀏覽代碼
fix: openllm generate cutoff (
#945
)
tags/0.3.15
takatost
2 年之前
父節點
e8039a7da8
當前提交
866ee5da91
沒有連結到貢獻者的電子郵件帳戶。
共有
1 個檔案被更改
,包括
0 行新增
和
3 行删除
分割檢視
顯示文件統計
0
3
api/core/third_party/langchain/llms/openllm.py
+ 0
- 3
api/core/third_party/langchain/llms/openllm.py
查看文件
@@ -67,9 +67,6 @@ class OpenLLM(LLM):
json_response = response.json()
completion = json_response["responses"][0]
if completion:
completion = completion[len(prompt):]
if stop is not None:
completion = enforce_stop_tokens(completion, stop)
Write
Preview
Loading…
取消
儲存