File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ Agents are generic on their `context` type. Context is a dependency-injection to
3434``` python
3535@dataclass
3636class UserContext :
37+ name: str
3738 uid: str
3839 is_pro_user: bool
3940
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ agent = Agent(
3838``` python
3939@dataclass
4040class UserContext :
41+ name: str
4142 uid: str
4243 is_pro_user: bool
4344
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ def md_target(py_path: Path) -> Path:
3131 rel = py_path .relative_to (SRC_ROOT ).with_suffix (".md" )
3232 return DOCS_ROOT / rel
3333
34+
3435def pretty_title (last_segment : str ) -> str :
3536 """
3637 Convert a module/file segment like 'tool_context' to 'Tool Context'.
@@ -39,6 +40,7 @@ def pretty_title(last_segment: str) -> str:
3940 cleaned = last_segment .replace ("_" , " " ).replace ("-" , " " )
4041 return capwords (cleaned )
4142
43+
4244# ---- Main ------------------------------------------------------------
4345
4446
You can’t perform that action at this time.
0 commit comments