Download src/utils/context.py from Cripple-Lee/Personal-Assistant-Server: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/spaces/Cripple-Lee/Personal-Assistant-Server/resolve/main/src/utils/context.py
- Command line
-
hf download hf://spaces/Cripple-Lee/Personal-Assistant-Server/src/utils/context.py
-
curl -L -o context.py https://huggingface.co/spaces/Cripple-Lee/Personal-Assistant-Server/resolve/main/src/utils/context.py
447 Bytes
| from typing_extensions import TypedDict | |
| class Context(TypedDict): | |
| """Context parameters for the agent. | |
| This is a TypedDict, so instances are plain dicts accessed via keys | |
| (e.g. ``runtime.context["my_configurable_param"]``), not attributes. | |
| Set these when creating assistants OR when invoking the graph. | |
| See: https://langchain-ai.github.io/langgraph/cloud/how-tos/configuration_cloud/ | |
| """ | |
| my_configurable_param: str |