Skip to content

Commit 05b59a4

Browse files
committed
fix: remove unnecessary print statement from model invocation
1 parent 27dd90c commit 05b59a4

File tree

1 file changed

+1
-2
lines changed
  • apps/models_provider/impl/azure_model_provider/credential

1 file changed

+1
-2
lines changed

apps/models_provider/impl/azure_model_provider/credential/llm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ def is_valid(self, model_type: str, model_name, model_credential: Dict[str, obje
6666
return False
6767
try:
6868
model = provider.get_model(model_type, model_name, model_credential, **model_params)
69-
res = model.invoke([HumanMessage(content=gettext('Hello'))])
70-
print( res)
69+
model.invoke([HumanMessage(content=gettext('Hello'))])
7170
except Exception as e:
7271
traceback.print_exc()
7372
if isinstance(e, AppApiException) or isinstance(e, BadRequestError):

0 commit comments

Comments
 (0)