mypy: inline::{vector_io,tool_runtime,telemetry}

This makes a minor change to tools API, allowing for empty content from
tool invocation. This is because RAGQueryResult allows for empty
content.

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
Ihar Hrachyshka 2025-03-19 18:13:20 -04:00
parent 5403582582
commit 808b2c6092
15 changed files with 51 additions and 44 deletions

View file

@ -13,7 +13,7 @@ from llama_stack.apis.telemetry import QueryCondition, QuerySpansResponse, Span
class TelemetryDatasetMixin:
"""Mixin class that provides dataset-related functionality for telemetry providers."""
datasetio_api: DatasetIO
datasetio_api: DatasetIO | None
async def save_spans_to_dataset(
self,