Enhance Code Consistency Across Repository with .editorconfig (#19023)
This commit is contained in:
parent
226afd4550
commit
bd1bbfee4b
274 changed files with 1271 additions and 1217 deletions
|
|
@ -444,13 +444,13 @@ def convert_to_agent_apps():
|
|||
WHERE a.mode = 'chat'
|
||||
AND am.agent_mode is not null
|
||||
AND (
|
||||
am.agent_mode like '%"strategy": "function_call"%'
|
||||
am.agent_mode like '%"strategy": "function_call"%'
|
||||
OR am.agent_mode like '%"strategy": "react"%'
|
||||
)
|
||||
)
|
||||
AND (
|
||||
am.agent_mode like '{"enabled": true%'
|
||||
am.agent_mode like '{"enabled": true%'
|
||||
OR am.agent_mode like '{"max_iteration": %'
|
||||
) ORDER BY a.created_at DESC LIMIT 1000
|
||||
) ORDER BY a.created_at DESC LIMIT 1000
|
||||
"""
|
||||
|
||||
with db.engine.begin() as conn:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue