add aksk check (#5273)
Some checks failed
CE Compile Job / ce_job_pre_check (push) Has been cancelled
CE Compile Job / print_ce_job_pre_check_outputs (push) Has been cancelled
CE Compile Job / FD-Clone-Linux (push) Has been cancelled
CE Compile Job / Show Code Archive Output (push) Has been cancelled
CE Compile Job / BUILD_SM8090 (push) Has been cancelled
CE Compile Job / BUILD_SM8689 (push) Has been cancelled
CE Compile Job / CE_UPLOAD (push) Has been cancelled
Deploy GitHub Pages / deploy (push) Has been cancelled

This commit is contained in:
kevin
2025-11-28 14:28:24 +08:00
committed by GitHub
parent 7bafcf1df3
commit 2d69d91ab8
3 changed files with 87 additions and 3 deletions

View File

@@ -820,7 +820,14 @@ class ResourceManagerV1(ResourceManager):
return None
if self.bos_client is None:
self.bos_client = init_bos_client()
try:
self.bos_client = init_bos_client()
except Exception as e:
error_msg = f"request {request.request_id} init bos client error: {str(e)}"
llm_logger.error(error_msg)
request.error_message = error_msg
request.error_code = 540
return None
inputs = request.multimodal_inputs
if inputs.get("video_feature_urls") is not None and len(inputs["video_feature_urls"]) > 0: