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
34
34
``` python
35
35
@dataclass
36
36
class UserContext :
37
+ name: str
37
38
uid: str
38
39
is_pro_user: bool
39
40
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ agent = Agent(
38
38
``` python
39
39
@dataclass
40
40
class UserContext :
41
+ name: str
41
42
uid: str
42
43
is_pro_user: bool
43
44
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ def md_target(py_path: Path) -> Path:
31
31
rel = py_path .relative_to (SRC_ROOT ).with_suffix (".md" )
32
32
return DOCS_ROOT / rel
33
33
34
+
34
35
def pretty_title (last_segment : str ) -> str :
35
36
"""
36
37
Convert a module/file segment like 'tool_context' to 'Tool Context'.
@@ -39,6 +40,7 @@ def pretty_title(last_segment: str) -> str:
39
40
cleaned = last_segment .replace ("_" , " " ).replace ("-" , " " )
40
41
return capwords (cleaned )
41
42
43
+
42
44
# ---- Main ------------------------------------------------------------
43
45
44
46
You can’t perform that action at this time.
0 commit comments