MCPcopy
hub / github.com/wavetermdev/waveterm / IsApproved

Method IsApproved

pkg/aiusechat/uctypes/uctypes.go:206–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204}
205
206func (d *UIMessageDataToolUse) IsApproved() bool {
207 return d.Approval == "" || d.Approval == ApprovalUserApproved || d.Approval == ApprovalAutoApproved
208}
209
210// when updating this struct, also modify frontend/app/aipanel/aitypes.ts WaveUIDataTypes.toolprogress
211type UIMessageDataToolProgress struct {

Callers 1

processToolCallInternalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected