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

Method SetFunctionCallNameString

core/config/model_config.go:1146–1148  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

1144}
1145
1146func (c *ModelConfig) SetFunctionCallNameString(s string) {
1147 c.functionCallNameString = s
1148}
1149
1150func (c *ModelConfig) ShouldUseFunctions() bool {
1151 return ((c.functionCallString != "none" || c.functionCallString == "") || c.ShouldCallSpecificFunction())

Callers 5

MergeOpenResponsesConfigFunction · 0.80
convertAnthropicToolsFunction · 0.80
PredictMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected