MCPcopy Index your code
hub / github.com/coder/coder / GetInputTokens

Method GetInputTokens

coderd/aibridged/proto/aibridged.pb.go:376–381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

374}
375
376func (x *RecordTokenUsageRequest) GetInputTokens() int64 {
377 if x != nil {
378 return x.InputTokens
379 }
380 return 0
381}
382
383func (x *RecordTokenUsageRequest) GetOutputTokens() int64 {
384 if x != nil {

Callers 2

TestRecordTokenUsageFunction · 0.80
RecordTokenUsageMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestRecordTokenUsageFunction · 0.64