rename folder

这个提交包含在:
binary-husky
2023-10-28 17:44:17 +08:00
父节点 5a530df4f2
当前提交 cf085565a7
共有 73 个文件被更改,包括 193 次插入193 次删除

查看文件

@@ -878,7 +878,7 @@ def clip_history(inputs, history, tokenizer, max_token_limit):
直到历史记录的标记数量降低到阈值以下。
"""
import numpy as np
from request_llm.bridge_all import model_info
from request_llms.bridge_all import model_info
def get_token_num(txt):
return len(tokenizer.encode(txt, disallowed_special=()))
input_token_num = get_token_num(inputs)
@@ -1069,7 +1069,7 @@ def get_plugin_handle(plugin_name):
def get_chat_handle():
"""
"""
from request_llm.bridge_all import predict_no_ui_long_connection
from request_llms.bridge_all import predict_no_ui_long_connection
return predict_no_ui_long_connection
def get_plugin_default_kwargs():