Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/endpoints/a2a.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ async def _process_task_streaming( # pylint: disable=too-many-locals
stream = await client.responses.create(**responses_params.model_dump())
except APIConnectionError as e:
error_message = (
f"Unable to connect to Llama Stack backend service: {str(e)}. "
f"Unable to connect to Llama Stack backend service: {e!s}. "
"The service may be temporarily unavailable. Please try again later."
)
logger.error(
Expand Down
2 changes: 1 addition & 1 deletion src/app/endpoints/health.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async def get_providers_health_statuses() -> list[ProviderHealthStatus]:
ProviderHealthStatus(
provider_id="unknown",
status=HealthStatus.ERROR.value,
message=f"Failed to initialize health check: {str(e)}",
message=f"Failed to initialize health check: {e!s}",
)
]

Expand Down
Loading