mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
feat(trace): record action Source and LLMReasoning
This commit is contained in:
1 parent
58c9bb42e1
commit
1b3545abb2
1 file changed
+5
@@ -82,6 +82,11 @@ type Action struct {
|
|||||||
Selector string `json:"selector,omitempty"`
|
Selector string `json:"selector,omitempty"`
|
||||||
ResolvedBounds *BoundsRecord `json:"resolved_bounds,omitempty"`
|
ResolvedBounds *BoundsRecord `json:"resolved_bounds,omitempty"`
|
||||||
TapPoint *PointRecord `json:"tap_point,omitempty"`
|
TapPoint *PointRecord `json:"tap_point,omitempty"`
|
||||||
|
// Source names the backend that chose this action: "llm" when the LLM
|
||||||
|
// action backend selected it, empty for the seeded picker. LLMReasoning is
|
||||||
|
// the model's short rationale, shown by the replay UI to explain the pick.
|
||||||
|
Source string `json:"source,omitempty"`
|
||||||
|
LLMReasoning string `json:"llm_reasoning,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type BoundsRecord struct {
|
type BoundsRecord struct {
|
||||||
|
|||||||
Reference in new issue
Block a user