Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

360 B
Raw Blame
import { consoleQuery } from '@/service/console'

export function appListOptions(name = '') {
  return consoleQuery.apps.get.infiniteOptions({
    input: (pageParam) => ({
      query: { page: Number(pageParam), limit: 20, name },
    }),
    getNextPageParam: (lastPage) => (lastPage.has_more ? lastPage.page + 1 : undefined),
    initialPageParam: 1,
  })
}