Feat/zhipuai function calling (#2199)

Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
Yeuoly 2024-01-25 16:29:35 +08:00 • committed by GitHub
commit b921c55677
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
46 changed files with 2115 additions and 138 deletions

View file

@ -160,6 +160,8 @@ export const DEFAULT_AGENT_SETTING = {
tools: [],
}
export const supportFunctionCallModels = ['glm-3-turbo', 'glm-4']
export const DEFAULT_AGENT_PROMPT = {
chat: `Respond to the human as helpfully and accurately as possible.