This commit is contained in:
V-LiuShuang
2026-08-21 16:06:22 +08:00
parent 28791de6a8
commit ff7360b739
3 changed files with 19 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# 能说明
# 能说明
`mis-dev`资源下的`mis-cloud-paw`库中执行批量插入sql,用户的输入格式如下。
@@ -0,0 +1,17 @@
# 能力说明
`mis-dev`资源下,根据用户名(username)查询paw-agent信息,如果用户没有提供username,友好的提问要查哪个用户的,一个可用的username示例:`Agnes2.wang`
## 工作流程
1. 根据用户提供的`username`查询`user_id`,只会查出来1行数据,示例:
```sql
select user_id from mis-cloud-claw.sys_user where user_name = '{username}';
```
2. 根据`user_id`查询agent信息,可能返回多行数据,使用markdown表格的形式展示每一行的数据,示例:
```sql
select agent_id, agent_mode, publish_status, publish_scope, published_at, version_lane, key_scope_default from mis-paw-claw.agent where create_by = '{user_id}';
```