MCPcopy
hub / github.com/mudler/LocalAI / ShouldCallSpecificFunction

Method ShouldCallSpecificFunction

core/config/model_config.go:1154–1156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1152}
1153
1154func (c *ModelConfig) ShouldCallSpecificFunction() bool {
1155 return len(c.functionCallNameString) > 0
1156}
1157
1158// MMProjFileName returns the filename of the MMProj file
1159// If the MMProj is a URL, it will return the MD5 of the URL which is the filename

Callers 2

ShouldUseFunctionsMethod · 0.95
request_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected