style(format): 代码风格化
This commit is contained in:
parent
b48aeeaa99
commit
7bfde7cc2c
@ -14,6 +14,7 @@ from src.agents.common.toolkits.mysql import get_mysql_tools
|
||||
from src.services.mcp_service import get_mcp_server_names, get_tools_from_all_servers
|
||||
from src.utils import logger
|
||||
|
||||
|
||||
def _create_fs_backend(rt):
|
||||
"""创建文件存储后端"""
|
||||
return StateBackend(rt)
|
||||
|
||||
@ -3,7 +3,9 @@
|
||||
<template #header-success>
|
||||
<span class="sep-header">
|
||||
<span class="keywords">描述表结构:</span>
|
||||
<span class="description code">{{ extractTableName(toolCall.args || toolCall.function?.arguments) }}</span>
|
||||
<span class="description code">{{
|
||||
extractTableName(toolCall.args || toolCall.function?.arguments)
|
||||
}}</span>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
|
||||
@ -3,7 +3,9 @@
|
||||
<template #header-success>
|
||||
<span class="sep-header">
|
||||
<span class="keywords">执行SQL查询:</span>
|
||||
<span class="description">{{ truncateSql(extractSql(toolCall.args || toolCall.function?.arguments)) }}</span>
|
||||
<span class="description">{{
|
||||
truncateSql(extractSql(toolCall.args || toolCall.function?.arguments))
|
||||
}}</span>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user