We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6900faf commit 460496eCopy full SHA for 460496e
1 file changed
MaxKernel/auto_agent/agent.py
@@ -4,6 +4,7 @@
4
for the human-in-the-loop kernel generation process.
5
"""
6
7
+from google.adk.apps.app import App, EventsCompactionConfig
8
from auto_agent.subagents.autotuning.agent import autotune_agent
9
from auto_agent.subagents.kernel_writing import (
10
implement_kernel_agent,
@@ -29,4 +30,16 @@
29
30
max_iterations=5,
31
)
32
-__all__ = ["root_agent"]
33
+compaction_config = EventsCompactionConfig(
34
+ token_threshold=200000,
35
+ event_retention_size=100,
36
+)
37
+
38
+app = App(
39
+ name="auto_agent",
40
+ root_agent=root_agent,
41
+ events_compaction_config=compaction_config,
42
43
44
+__all__ = ["root_agent", "app"]
45
0 commit comments