Closed Kwaiyu closed 9 months ago
这个我从来没遇到过,你用的是langchain版本的吗?
# 判断是否使用langchain。如果设置了自定义的api地址,则使用langchain
def should_use_langchain():
should_use_langchain = OPENAI_BASE_URL is not None
return should_use_langchain
这个我从来没遇到过,你用的是langchain版本的吗?
# 判断是否使用langchain。如果设置了自定义的api地址,则使用langchain def should_use_langchain(): should_use_langchain = OPENAI_BASE_URL is not None return should_use_langchain
我试了下assistant方式和langchain方式都会出现乱码,并且运行一段时间后报错停止运行:
total-ignore MEN\Modules shoot successCharGeneration제
An error occurred: Message: unknown error: ChromeDriver only supports characters in the BMP
(Session info: chrome=120.0.6099.199)
Stacktrace:
GetHandleVerifier [0x00007FF6D9012142+3514994]
(No symbol) [0x00007FF6D8C30CE2]
(No symbol) [0x00007FF6D8AD76AA]
(No symbol) [0x00007FF6D8B5B957]
(No symbol) [0x00007FF6D8B1B656]
(No symbol) [0x00007FF6D8B1A622]
(No symbol) [0x00007FF6D8B45FEA]
(No symbol) [0x00007FF6D8B163B6]
(No symbol) [0x00007FF6D8B46490]
(No symbol) [0x00007FF6D8B628F6]
(No symbol) [0x00007FF6D8B45D93]
(No symbol) [0x00007FF6D8B14BDC]
(No symbol) [0x00007FF6D8B15C64]
GetHandleVerifier [0x00007FF6D903E16B+3695259]
GetHandleVerifier [0x00007FF6D9096737+4057191]
GetHandleVerifier [0x00007FF6D908E4E3+4023827]
GetHandleVerifier [0x00007FF6D8D604F9+689705]
(No symbol) [0x00007FF6D8C3C048]
(No symbol) [0x00007FF6D8C38044]
(No symbol) [0x00007FF6D8C381C9]
(No symbol) [0x00007FF6D8C288C4]
BaseThreadInitThunk [0x00007FFB8B927344+20]
RtlUserThreadStart [0x00007FFB8D9026B1+33]
控制台输出:
如图所示: