瀏覽代碼

2024-0514-搜索策略实验上线

罗俊辉 1 年之前
父節點
當前提交
4f461d9f1c
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      applications/functions/kimi.py
  2. 1 1
      dev/test.py

+ 1 - 1
applications/functions/kimi.py

@@ -151,7 +151,7 @@ class KimiServer(object):
             model="moonshot-v1-8k",
         )
         response = chat_completion.choices[0].message.content
-        return response
+        return response.split("\n")[0]
 
     @classmethod
     async def kimi_mining(cls, text):

文件差異過大導致無法顯示
+ 1 - 1
dev/test.py


部分文件因文件數量過多而無法顯示