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.

392 B
Raw Blame
import { createContext, use } from 'react'

export const AgentOrchestrateReadOnlyContext = createContext(false)
export const AgentOrchestrateViewingVersionContext = createContext(false)

export function useAgentOrchestrateReadOnly() {
  return use(AgentOrchestrateReadOnlyContext)
}

export function useAgentOrchestrateViewingVersion() {
  return use(AgentOrchestrateViewingVersionContext)
}