mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-06 06:49:48 +08:00
fix add default embed model
This commit is contained in:
parent
6011bac07f
commit
a592b1cd3f
@ -39,6 +39,8 @@ def generate_token(apikey: str, exp_seconds: int):
|
|||||||
|
|
||||||
|
|
||||||
class ChatGLMWorker(ApiModelWorker):
|
class ChatGLMWorker(ApiModelWorker):
|
||||||
|
DEFAULT_EMBED_MODEL = "embedding-2"
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user