fix add default embed model

This commit is contained in:
dengpeng777 2024-03-30 10:00:55 +08:00 committed by GitHub
parent 6011bac07f
commit a592b1cd3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,8 @@ def generate_token(apikey: str, exp_seconds: int):
class ChatGLMWorker(ApiModelWorker):
DEFAULT_EMBED_MODEL = "embedding-2"
def __init__(
self,
*,