Initial commit

This commit is contained in:
2025-10-14 14:17:21 +08:00
commit ac715a8b88
35011 changed files with 3834178 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import type { StrategyPluginDetail } from '@/app/components/plugins/types'
import { get } from './base'
export const fetchStrategyList = () => {
return get<StrategyPluginDetail[]>('/workspaces/current/agent-providers')
}
export const fetchStrategyDetail = (agentProvider: string) => {
return get<StrategyPluginDetail>(`/workspaces/current/agent-provider/${agentProvider}`)
}