forked from innovacion/Mayacontigo
ic
This commit is contained in:
6
.templates/rag/{{project_name}}/api/context.py
Normal file
6
.templates/rag/{{project_name}}/api/context.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from contextvars import ContextVar
|
||||
|
||||
buffer: ContextVar[str] = ContextVar("buffer", default="")
|
||||
tool_buffer: ContextVar[str] = ContextVar("tool_buffer", default="")
|
||||
tool_id: ContextVar[str | None] = ContextVar("tool_id", default=None)
|
||||
tool_name: ContextVar[str | None] = ContextVar("tool_name", default=None)
|
||||
Reference in New Issue
Block a user