mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-01 11:04:31 +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
|
|
@ -36,7 +36,7 @@ class VectorDBStore(Protocol):
|
|||
@runtime_checkable
|
||||
@trace_protocol
|
||||
class VectorIO(Protocol):
|
||||
vector_db_store: VectorDBStore
|
||||
vector_db_store: VectorDBStore | None = None
|
||||
|
||||
# this will just block now until chunks are inserted, but it should
|
||||
# probably return a Job instance which can be polled for completion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue