Skip to content

Commit 93cfd90

Browse files
feat: add icon for ai provider (#12722)
1 parent bad239d commit 93cfd90

29 files changed

Lines changed: 296 additions & 11 deletions

File tree

frontend/src/api/modules/ai.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,13 @@ export const updateAgentAccount = (req: AI.AgentAccountUpdateReq) => {
200200
return http.post(`/ai/agents/accounts/update`, req);
201201
};
202202

203-
export const pageAgentAccounts = (req: AI.AgentAccountSearch) => {
204-
return http.post<ResPage<AI.AgentAccountItem>>(`/ai/agents/accounts/search`, req);
203+
export const pageAgentAccounts = (req: AI.AgentAccountSearch, currentNode?: string) => {
204+
return http.post<ResPage<AI.AgentAccountItem>>(
205+
`/ai/agents/accounts/search`,
206+
req,
207+
undefined,
208+
currentNode ? { CurrentNode: currentNode } : undefined,
209+
);
205210
};
206211

207212
export const getAgentAccountModels = (req: AI.AgentAccountModelReq) => {
281 Bytes
Loading
1.33 KB
Loading
908 Bytes
Loading
1.06 KB
Loading
Lines changed: 4 additions & 0 deletions
Loading
4.19 KB
Binary file not shown.
1.02 KB
Loading
Lines changed: 1 addition & 0 deletions
Loading
3.89 KB
Loading

0 commit comments

Comments
 (0)