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

Method hasInjectableTools

aibridge/intercept/chatcompletions/base.go:235–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233}
234
235func (i *interceptionBase) hasInjectableTools() bool {
236 return i.mcpProxy != nil && len(i.mcpProxy.ListTools()) > 0
237}
238
239func sumUsage(ref, in openai.CompletionUsage) openai.CompletionUsage {
240 return openai.CompletionUsage{

Callers 1

injectToolsMethod · 0.95

Calls 1

ListToolsMethod · 0.65

Tested by

no test coverage detected