mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-17 15:10:14 +00:00
Merge branch 'main' into Agent_Hub_Dev
# Conflicts: # README.zh.md
This commit is contained in:
@@ -28,7 +28,11 @@ class WorkerRunData:
|
||||
|
||||
def _to_print_key(self):
|
||||
model_name = self.model_params.model_name
|
||||
model_type = self.model_params.model_type
|
||||
model_type = (
|
||||
self.model_params.model_type
|
||||
if hasattr(self.model_params, "model_type")
|
||||
else "text2vec"
|
||||
)
|
||||
host = self.host
|
||||
port = self.port
|
||||
return f"model {model_name}@{model_type}({host}:{port})"
|
||||
|
Reference in New Issue
Block a user