MCPcopy Index your code

hub / github.com/11cafe/jaaz / functions

Functions838 in github.com/11cafe/jaaz

↓ 2 callersFunctiongenerate_new_image_element
Generate new image element for canvas
server/tools/utils/image_canvas_utils.py:43
↓ 2 callersFunctiongenerate_new_video_element
Generate new video element for canvas
server/tools/video_generation/video_canvas_utils.py:248
↓ 2 callersFunctiongenerate_video_file_id
()
server/tools/video_generation/video_canvas_utils.py:203
↓ 2 callersFunctiongetMediaFilesApi
(path: string)
react/src/api/settings.ts:142
↓ 2 callersMethodgetSocketId
()
react/src/lib/socket.ts:164
↓ 2 callersFunctiongetTagsFromContent
* @param {string} content - The content of the post * @returns {{tags: string[], content: string}} - The tags of the post and the content without tag
electron/ipcHandlers.js:615
↓ 2 callersFunctiongetUserDataDir
* Get user data directory * @returns {string} - User data directory path
electron/comfyUIManager.js:52
↓ 2 callersFunctiongetUserDataDir
* Get user data directory * @returns {string} - User data directory path
electron/comfyUIInstaller.js:33
↓ 2 callersFunctionget_asset_path
To get the correct path for pyinstaller bundled application
server/tools/utils/comfyui.py:47
↓ 2 callersFunctionget_asset_path
To get the correct path for pyinstaller bundled application
server/tools/image_providers/comfyui_provider.py:21
↓ 2 callersFunctionget_stream_task
Retrieve the stream task associated with the given session_id. Args: session_id (str): Unique identifier for the session. Retur
server/services/stream_service.py:27
↓ 2 callersFunctiongroupModelsByProvider
(models: typeof allTools)
react/src/components/chat/ModelSelectorV3.tsx:48
↓ 2 callersFunctionhandle_chat
Handle an incoming chat request. Workflow: - Parse incoming chat data. - Optionally inject system prompt. - Save chat session an
server/services/chat_service.py:17
↓ 2 callersFunctionisComfyUIInstalled
* Check if ComfyUI is installed * @returns {boolean} - True if ComfyUI is installed
electron/comfyUIManager.js:195
↓ 2 callersFunctionisPNG
* 检查PNG文件头
react/src/utils/pngMetadata.ts:51
↓ 2 callersMethodlist_comfy_workflows
List all comfy workflows
server/services/db_service.py:181
↓ 2 callersMethodlist_sessions
List all chat sessions
server/services/db_service.py:109
↓ 2 callersMethodlog_node
(self, type, node_id)
server/routers/comfyui_execution.py:212
↓ 2 callersFunctionmergeToolCallResult
(messages: Message[])
react/src/components/chat/Chat.tsx:112
↓ 2 callersMethodmigrate
Apply or rollback migrations to reach target version
server/services/migrations/manager.py:36
↓ 2 callersFunctiononSelectSession
(sessionId: string)
react/src/components/chat/Chat.tsx:534
↓ 2 callersFunctionreadPNGMetadata
(filePath: string)
react/src/utils/pngMetadata.ts:274
↓ 2 callersFunctionreadString
* 从ArrayBuffer中读取字符串
react/src/utils/pngMetadata.ts:40
↓ 2 callersMethodregister_tool
注册单个工具
server/services/tool_service.py:211
↓ 2 callersFunctionremove_stream_task
Remove the stream task associated with the given session_id. Args: session_id (str): Unique identifier for the session.
server/services/stream_service.py:18
↓ 2 callersFunctionsendCancelled
* Send cancellation message to main window or parent process * @param {string} message - Cancellation message
electron/comfyUIInstaller.js:273
↓ 2 callersFunctionsendError
* Send error message to main window or parent process * @param {string} error - Error message
electron/comfyUIInstaller.js:245
↓ 2 callersFunctionsend_video_error_notification
Send WebSocket notification about video generation error
server/tools/video_generation/video_canvas_utils.py:144
↓ 2 callersMethodsetEnvironment
* 设置环境变量代理 * @param {string} url 代理 URL
electron/settingsService.js:103
↓ 2 callersFunctionstopComfyUIProcess
* Stop ComfyUI process * @returns {Promise<{success: boolean, message?: string}>}
electron/comfyUIManager.js:405
↓ 2 callersFunctionuploadImage
( file: File )
react/src/api/upload.ts:3
↓ 2 callersFunctionuseBalance
()
react/src/hooks/use-balance.ts:5
↓ 2 callersFunctionuseDebounce
( callback: T, delay: number )
react/src/components/knowledge/Editor.tsx:44
↓ 1 callersMethod_build_api_url
Build API URL for Volces Cloud
server/tools/video_providers/volces_provider.py:25
↓ 1 callersMethod_build_headers
Build request headers
server/tools/image_providers/wavespeed_provider.py:22
↓ 1 callersMethod_build_headers
Build request headers
server/tools/image_providers/replicate_provider.py:18
↓ 1 callersMethod_build_headers
Build request headers
server/tools/video_providers/volces_provider.py:29
↓ 1 callersFunction_build_input_schema
Build a Pydantic model named '<WorkflowName>Input' from workflow['inputs']. The `inputs` column is stored in DB as JSON text -> parse first.
server/tools/comfy_dynamic.py:59
↓ 1 callersMethod_build_payload
Build request payload based on whether input images are provided
server/tools/image_providers/wavespeed_provider.py:39
↓ 1 callersMethod_build_request_payload
Build request payload for Volces API
server/tools/video_providers/volces_provider.py:36
↓ 1 callersMethod_build_search_url
Build task search URL
server/tools/image_providers/jaaz_provider.py:47
↓ 1 callersMethod_build_url
Build request URL for Replicate API
server/tools/image_providers/replicate_provider.py:14
↓ 1 callersMethod_build_workflow
Build workflow based on model type
server/tools/image_providers/comfyui_provider.py:74
↓ 1 callersMethod_calculate_dimensions
Calculate width and height based on aspect ratio
server/tools/image_providers/volces_provider.py:42
↓ 1 callersMethod_calculate_dimensions
Calculate width and height based on aspect ratio and model
server/tools/image_providers/comfyui_provider.py:57
↓ 1 callersMethod_create_client
Create OpenAI client for Volces API
server/tools/image_providers/volces_provider.py:29
↓ 1 callersFunction_create_text_model
创建语言模型实例
server/services/langgraph_service/agent_service.py:138
↓ 1 callersMethod_ensure_db_directory
Ensure the database directory exists
server/services/db_service.py:18
↓ 1 callersFunction_fix_chat_history
修复聊天历史中不完整的工具调用 根据LangGraph文档建议,移除没有对应ToolMessage的tool_calls 参考: https://langchain-ai.github.io/langgraph/troubleshooting/errors/INVALID_CHAT
server/services/langgraph_service/agent_service.py:23
↓ 1 callersMethod_generate_openai_image
Generate image using Jaaz API service calling OpenAI model Compatible with OpenAI image generation API Returns:
server/tools/image_providers/jaaz_provider.py:335
↓ 1 callersMethod_generate_replicate_image
Generate Replicate format image
server/tools/image_providers/jaaz_provider.py:284
↓ 1 callersMethod_get_model_for_request
Get the appropriate model for the request
server/tools/image_providers/wavespeed_provider.py:64
↓ 1 callersMethod_handle_chunk
处理单个chunk
server/services/langgraph_service/StreamProcessor.py:44
↓ 1 callersFunction_handle_error
处理错误
server/services/langgraph_service/agent_service.py:170
↓ 1 callersMethod_handle_message_chunk
处理消息类型的 chunk
server/services/langgraph_service/StreamProcessor.py:79
↓ 1 callersMethod_handle_tool_call_chunks
处理工具调用参数流
server/services/langgraph_service/StreamProcessor.py:144
↓ 1 callersMethod_handle_tool_calls
处理工具调用
server/services/langgraph_service/StreamProcessor.py:111
↓ 1 callersMethod_handle_values_chunk
处理 values 类型的 chunk
server/services/langgraph_service/StreamProcessor.py:54
↓ 1 callersMethod_init_db
Initialize the database with the current schema
server/services/db_service.py:22
↓ 1 callersMethod_is_configured
检查 Jaaz API 是否已配置
server/services/jaaz_service.py:31
↓ 1 callersMethod_make_request
Send HTTP request and handle response Returns: dict[str, Any]: Response data from Replicate API
server/tools/image_providers/replicate_provider.py:31
↓ 1 callersFunction_normalize_agent_name
Normalize agent name to be compatible with tool names.
server/services/langgraph_service/configs/base_config.py:15
↓ 1 callersMethod_poll_for_result
Poll for image generation result
server/tools/image_providers/wavespeed_provider.py:70
↓ 1 callersMethod_poll_task_status
Poll task status until completion
server/tools/video_providers/volces_provider.py:90
↓ 1 callersFunction_process_magic_generation
Process magic generation in a separate async task. Args: messages: List of messages session_id: Session ID canvas_id
server/services/magic_service.py:75
↓ 1 callersMethod_process_response
Process Replicate API response and save image Args: res: Response data from Replicate API Returns:
server/tools/image_providers/replicate_provider.py:48
↓ 1 callersMethod_process_response
Process OpenAI response and save image Args: result: OpenAI response object error_prefix: Error message pref
server/tools/image_providers/volces_provider.py:52
↓ 1 callersFunction_python_type
Map simple param types to Python types.
server/tools/comfy_dynamic.py:46
↓ 1 callersMethod_search_cloud_task
Search for existing cloud task Args: prompt: The generation prompt Returns: Task data if found and
server/tools/image_providers/jaaz_provider.py:67
↓ 1 callersMethod_wait_for_confirmation
等待确认
server/services/tool_confirmation_manager.py:48
↓ 1 callersFunctionadd_connection
(socket_id: str, user_info: dict = None)
server/services/websocket_state.py:12
↓ 1 callersFunctionautoStartComfyUI
()
react/src/App.tsx:72
↓ 1 callersFunctionbroadcast_init_done
()
server/services/websocket_service.py:29
↓ 1 callersFunctionbuild_tool
Return an @tool function for the given workflow record.
server/tools/comfy_dynamic.py:101
↓ 1 callersFunctioncalculateFileHash
* Calculate SHA256 hash of a file * @param {string} filePath - Path to the file * @returns {Promise<string>} - Promise resolving to SHA256 hash in h
electron/comfyUIInstaller.js:303
↓ 1 callersFunctioncancelChat
(sessionId: string)
react/src/api/chat.ts:36
↓ 1 callersFunctioncancelInstallation
* Cancel the current ComfyUI installation
electron/comfyUIInstaller.js:46
↓ 1 callersFunctioncancelMagicGenerate
(sessionId: string)
react/src/api/magic.ts:26
↓ 1 callersFunctionchangeLanguage
(language: string)
react/src/hooks/use-language.ts:6
↓ 1 callersFunctioncheckInstallation
()
react/src/components/settings/ComfyuiSetting.tsx:53
↓ 1 callersFunctioncheck_comfy_server_running
(base_url)
server/routers/comfyui_execution.py:22
↓ 1 callersMethodcleanup
Clean up resources
server/services/mcp.py:119
↓ 1 callersMethodclearProxy
* 清除代理设置 * @returns {Object} 空的代理环境变量对象
electron/settingsService.js:190
↓ 1 callersMethodclear_tools
(self)
server/services/tool_service.py:246
↓ 1 callersFunctioncompressImageFile
(file: File)
react/src/utils/imageUtils.ts:94
↓ 1 callersFunctioncompress_image
Compress an image to be under the specified size limit.
server/routers/image_router.py:100
↓ 1 callersMethodconfirm_tool
确认工具调用
server/services/tool_confirmation_manager.py:56
↓ 1 callersMethodconnect_to_server
(self, command: str, args: list[str], env: Optional[dict[str, str]] = None)
server/services/mcp.py:19
↓ 1 callersFunctioncreateWindow
(pyPort)
electron/main.js:124
↓ 1 callersMethodcreate_agents
创建所有智能体 Args: model: 语言模型实例 registered_tools: 已注册的工具名称列表 system_prompt: 系统提示词 Returns:
server/services/langgraph_service/agent_manager.py:18
↓ 1 callersMethodcreate_async_client
直接创建异步客户端(需要手动关闭)
server/utils/http_client.py:113
↓ 1 callersMethodcreate_canvas
Create a new canvas
server/services/db_service.py:46
↓ 1 callersMethodcreate_comfy_workflow
Create a new comfy workflow
server/services/db_service.py:172
↓ 1 callersFunctioncreate_handoff_tool
Create a tool that can handoff control to the requested agent. Args: agent_name: The name of the agent to handoff control to, i.e.
server/services/langgraph_service/configs/base_config.py:20
↓ 1 callersFunctioncreate_magic_response
()
server/services/OpenAIAgents_service/test.py:12
↓ 1 callersMethodcreate_magic_task
创建云端魔法图像生成任务 Args: image_content: 图片内容(base64 或 URL) Returns: str: 任务 ID,失败时返回空字符串
server/services/jaaz_service.py:42
↓ 1 callersMethodcreate_midjourney_task
创建云端 Midjourney 图像生成任务 Args: prompt: 图像生成提示词 model: 图像生成模型(默认为 midjourney) **kwargs: 其他参数(如 mode
server/services/jaaz_service.py:370
↓ 1 callersMethodcreate_provider
Factory method: create provider instance
server/tools/video_providers/video_base_provider.py:19
↓ 1 callersMethodcreate_video_task
创建云端视频生成任务 Args: prompt: 视频生成提示词 model: 视频生成模型 resolution: 视频分辨率 duration: 视频时长(秒)
server/services/jaaz_service.py:85
↓ 1 callersFunctiondeleteCanvas
(id: string)
react/src/api/canvas.ts:70
← previousnext →101–200 of 838, ranked by callers