Skip to content

Commit cc37a5f

Browse files
chore: add truncation_strategy to ignore list for telemetry
1 parent 47844c5 commit cc37a5f

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

src/askui/android_agent.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,15 @@ class AndroidAgent(Agent):
6565
```
6666
"""
6767

68-
@telemetry.record_call(exclude={"reporters", "settings", "act_tools", "callbacks"})
68+
@telemetry.record_call(
69+
exclude={
70+
"reporters",
71+
"settings",
72+
"act_tools",
73+
"callbacks",
74+
"truncation_strategy",
75+
}
76+
)
6977
@validate_call(config=ConfigDict(arbitrary_types_allowed=True))
7078
def __init__(
7179
self,

src/askui/computer_agent.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,14 @@ class ComputerAgent(Agent):
7070
"""
7171

7272
@telemetry.record_call(
73-
exclude={"reporters", "tools", "settings", "act_tools", "callbacks"}
73+
exclude={
74+
"reporters",
75+
"tools",
76+
"settings",
77+
"act_tools",
78+
"callbacks",
79+
"truncation_strategy",
80+
}
7481
)
7582
@validate_call(config=ConfigDict(arbitrary_types_allowed=True))
7683
def __init__(

0 commit comments

Comments
 (0)