-
-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Labels
Description
Feature Description
Instead of just streaming logging, a "capture_log_event" tool that waits for a specified phrase or statement to appear in the log, then returns the surrounding logs to the agent to form an agentic feedback loop would be super useful.
Use Cases
- Building any app
Example Interactions
You: Make [some feature], use logging to check it works.
AI: Making feature...
func someFeature() {
print("Something broke...")
}AI: Checking logs...
Tool Call:
capture_log_event(process: "SomeProcess", phrase: "Something broke...", max_logs_to_include: 10)
Tool Result:
Everything's fine
Something bad happens
Something broke...
AI: Hmm, that didn't work, trying [something else]
ariccio