MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / GetWaveAIRateLimitCommand

Method GetWaveAIRateLimitCommand

pkg/wshrpc/wshserver/wshserver.go:1294–1296  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

1292}
1293
1294func (ws *WshServer) GetWaveAIRateLimitCommand(ctx context.Context) (*uctypes.RateLimitInfo, error) {
1295 return aiusechat.GetGlobalRateLimit(), nil
1296}
1297
1298func (ws *WshServer) WaveAIToolApproveCommand(ctx context.Context, data wshrpc.CommandWaveAIToolApproveData) error {
1299 return aiusechat.UpdateToolApproval(data.ToolCallId, data.Approval)

Callers

nothing calls this directly

Calls 1

GetGlobalRateLimitFunction · 0.92

Tested by

no test coverage detected