[feature][chat]Refactor chat model config related codes.#1739

This commit is contained in:
jerryjzhang
2024-10-09 17:27:07 +08:00
parent 60b0a1a1a1
commit 248f4f83f6
53 changed files with 275 additions and 251 deletions

View File

@@ -289,7 +289,7 @@ def build_agent(dataSetId):
# "description":"DuSQL",
# "status":1,
# "examples":[],
# "agentConfig":json.dumps({
# "toolConfig":json.dumps({
# "tools":[{
# "id":1,
# "type":"NL2SQL_LLM",
@@ -303,7 +303,7 @@ def build_agent(dataSetId):
"description":"DuSQL",
"status":1,
"examples":[],
"agentConfig":json.dumps({
"toolConfig":json.dumps({
"tools":[{
"id":1,
"type":"NL2SQL_LLM",