public class ChatConfig extends AiConfig
| Constructor and Description |
|---|
ChatConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGlobalFunction(ChatFunction function)
添加全局函数
|
ChatFunction |
getGlobalFunction(String name)
获取单个全局函数
|
Collection<ChatFunction> |
getGlobalFunctions()
获取所有全局函数
|
createHttpUtils, getApiKey, getApiUrl, getHeaders, getModel, getProvider, getTimeout, setApiKey, setApiUrl, setHeader, setModel, setProvider, setTimeoutpublic void addGlobalFunction(ChatFunction function)
public ChatFunction getGlobalFunction(String name)
public Collection<ChatFunction> getGlobalFunctions()
Copyright © 2025. All rights reserved.