mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-01 15:00:01 +00:00
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:
parent
5403582582
commit
808b2c6092
15 changed files with 51 additions and 44 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue