MCPcopy Index your code

hub / github.com/Forget-C/Jellyfish / functions

Functions2,103 in github.com/Forget-C/Jellyfish

↓ 4 callersFunction_override_db
(db: _DummyDB)
backend/tests/test_files_api_responses.py:35
↓ 4 callersFunction_override_db
(db: _FakeDB)
backend/tests/test_tasks_images_api_responses.py:45
↓ 4 callersFunction_override_db
(db: _FakeDB)
backend/tests/test_generated_video_api_responses.py:45
↓ 4 callersFunction_seed_project
(db: _FakeStudioDB, project_id: str = "proj-1")
backend/tests/test_studio_api_responses.py:88
↓ 4 callersFunction_split_bucket
(category: str, block: str)
backend/app/services/film/shot_frame_prompt_tasks.py:482
↓ 4 callersFunction_utc_now
()
backend/app/services/studio/shot_extracted_dialogue_candidates.py:27
↓ 4 callersMethodarun
异步调用 agent。
backend/app/chains/agents/base.py:298
↓ 4 callersFunctionbucket
(type: 'character' | 'scene' | 'prop' | 'costume')
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:3524
↓ 4 callersFunctionbuild_default_text_llm
基于默认文本模型构造 ChatOpenAI。
backend/app/services/llm/resolver.py:133
↓ 4 callersFunctionbuild_default_text_llm_sync
( db: Session, *, thinking: bool, )
backend/app/services/llm/runtime.py:46
↓ 4 callersFunctionbuild_script_extract_cache_key
( *, project_id: str, chapter_id: str, script_division: dict[str, Any], consistency: dict[
backend/app/services/script_extraction_cache.py:16
↓ 4 callersFunctionclampViewCount
(value?: number | null)
front/src/pages/aiStudio/assets/components/AssetEditPageBase.tsx:129
↓ 4 callersFunctionclear_video_model_capability_overrides
兼容入口:清空能力覆盖;供测试或重置场景使用。
backend/app/core/integrations/video_capabilities.py:51
↓ 4 callersFunctioncreate_consistency_task
( db: AsyncSession, *, relation_entity_id: str, script_text: str, )
backend/app/services/script_processing_tasks.py:389
↓ 4 callersFunctioncreate_divide_task
( db: AsyncSession, *, chapter_id: str, script_text: str, write_to_db: bool, )
backend/app/services/script_processing_tasks.py:132
↓ 4 callersFunctioncreate_merge_task
( db: AsyncSession, *, relation_entity_id: str, all_shot_extractions: list[dict], historic
backend/app/services/script_processing_tasks.py:335
↓ 4 callersFunctioncreate_model
创建模型。
backend/app/services/llm/manage.py:174
↓ 4 callersFunctioncreate_variant_task
( db: AsyncSession, *, relation_entity_id: str, merged_library: dict, all_shot_extractions
backend/app/services/script_processing_tasks.py:432
↓ 4 callersFunctiondecodeAssetEditReturnTo
(searchReturnTo: string | null, fallback: string)
front/src/pages/aiStudio/project/ProjectWorkbench/utils/workbenchAssetReturnTo.ts:8
↓ 4 callersFunctionderive_frame_preview
( *, base: FrameBaseDraft, context: FrameGenerationContext, )
backend/app/services/studio/generation/frame/derive_preview.py:319
↓ 4 callersFunctionensureHasShotsBeforeShooting
(args: EnsureHasShotsBeforeShootingArgs)
front/src/pages/aiStudio/project/ProjectWorkbench/ensureHasShotsBeforeShooting.ts:15
↓ 4 callersFunctionfindByState
(key: ReturnType<typeof getChapterPreparationState>['key'])
front/src/pages/aiStudio/project/ProjectLobby.tsx:177
↓ 4 callersFunctionfindByState
(key: ReturnType<typeof getChapterPreparationState>['key'])
front/src/pages/aiStudio/project/ProjectWorkbench/index.tsx:45
↓ 4 callersMethodgenerate
(self, db: Session, run_args: dict[str, Any])
backend/app/services/script_processing_worker.py:64
↓ 4 callersMethodget
(self, model: type, entity_id: str)
backend/tests/test_studio_api_responses.py:31
↓ 4 callersFunctiongetNum
(key: string)
front/src/pages/aiStudio/project/ProjectLobby.tsx:91
↓ 4 callersFunctiongetNum
(key: string)
front/src/pages/aiStudio/project/ProjectWorkbench/hooks/useProjectData.ts:18
↓ 4 callersMethodgetProjectApiV1StudioProjectsProjectIdGet
* 获取项目 * @returns ApiResponse_ProjectRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioProjectsService.ts:93
↓ 4 callersFunctionhandleTaskResultSafely
( taskId: string, options: SafeHandleTaskResultOptions, )
front/src/pages/aiStudio/components/taskResultHelpers.ts:46
↓ 4 callersFunctionhandleTestConnection
(provider?: ProviderRead)
front/src/pages/aiStudio/models/ProvidersTab.tsx:140
↓ 4 callersFunctioninvalid_choice
字段取值非法错误。
backend/app/services/common/errors.py:25
↓ 4 callersFunctionisActiveTaskStatus
(status?: TaskStatus | null)
front/src/pages/aiStudio/project/ProjectWorkbench/chapterDivisionTasks.ts:57
↓ 4 callersMethodlistShotFrameImagesApiV1StudioShotFrameImagesGet
* 镜头分镜帧图片列表(分页) * @returns ApiResponse_PaginatedData_ShotFrameImageRead__ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotFrameImagesService.ts:19
↓ 4 callersFunctionloadLinks
()
front/src/pages/aiStudio/project/ProjectWorkbench/tabs/PropsTab.tsx:54
↓ 4 callersFunctionloadLinks
()
front/src/pages/aiStudio/project/ProjectWorkbench/tabs/ActorsTab.tsx:52
↓ 4 callersFunctionloadLinks
()
front/src/pages/aiStudio/project/ProjectWorkbench/tabs/ScenesTab.tsx:47
↓ 4 callersFunctionloadShots
()
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:618
↓ 4 callersFunctionloadTemplates
(nextPage: number, nextQuery: string)
front/src/pages/aiStudio/prompts/PromptTemplateManager.tsx:130
↓ 4 callersFunctionmark_linked_by_name
按镜头、候选类型与名称匹配候选项,并标记为已关联。 用于真实资产关联动作发生后,将提取候选同步回写为 linked。 若当前镜头没有匹配候选,则静默返回 None。
backend/app/services/studio/shot_extracted_candidates.py:299
↓ 4 callersFunctionmark_shot_generating
兼容旧调用点:生成任务启动后只重算静态状态,不再写入 generating。 这里保留函数,是为了避免在任务创建链路上到处改接口。 后续可在所有调用点迁移完成后再删除。
backend/app/services/studio/shot_status.py:90
↓ 4 callersFunctionnormalize_frame_type
(frame_type: str)
backend/app/services/film/shot_frame_prompt_tasks.py:39
↓ 4 callersFunctionnormalize_q
(q: str | None)
backend/app/api/utils.py:14
↓ 4 callersFunctionpassthrough
()
front/public/mockServiceWorker.js:216
↓ 4 callersFunctionpatchShotInList
(shotId: string, patch: Partial<StudioShot>)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:697
↓ 4 callersFunctionpush
(fid: string | null)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:3938
↓ 4 callersFunctionrelation_mismatch
通用归属关系不匹配错误。
backend/app/services/common/errors.py:35
↓ 4 callersFunctionrelation_type_for_frame
(frame_type: str)
backend/app/services/film/shot_frame_prompt_tasks.py:46
↓ 4 callersFunctionrenderAssetGrid
(kind: AssetKind, titleLabel: string, items: AssetVM[])
front/src/pages/aiStudio/shots/components/ChapterShotAssetConfirmation.tsx:156
↓ 4 callersFunctionresolve_image_capability
(*, provider: ProviderKey, model: str | None)
backend/app/core/integrations/image_capabilities.py:68
↓ 4 callersFunctionresolve_task_adapter
解析任务执行器;未注册时抛出清晰错误。
backend/app/core/tasks/registry.py:35
↓ 4 callersMethodrollback
(self)
backend/tests/test_image_tasks_api_responses.py:293
↓ 4 callersFunctionsleep
(ms: number)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:286
↓ 4 callersFunctionsync_usage_from_shot_context
( session: AsyncSession, *, file_id: str, shot_id: str, usage_kind: FileUsageKind | str,
backend/app/services/studio/file_usages.py:73
↓ 4 callersFunctionto_image_data_url
(value: str)
backend/app/core/integrations/openai/video_payload.py:12
↓ 4 callersFunctionuniqueNames
(values: Array<string | null | undefined>)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:377
↓ 4 callersFunctionuseChapters
(projectId: string | undefined)
front/src/pages/aiStudio/project/ProjectWorkbench/hooks/useProjectData.ts:95
↓ 3 callersMethod__init__
(self)
backend/app/services/script_processing_worker.py:153
↓ 3 callersFunction_build_frame_template
(frame_name: str)
backend/app/chains/agents/shot_frame_prompt_agents.py:183
↓ 3 callersFunction_build_named_asset_context
(assets: list[Scene] | list[Prop] | list[Costume])
backend/app/services/film/shot_frame_prompt_tasks.py:95
↓ 3 callersFunction_build_public_url
(key: str)
backend/app/core/storage.py:57
↓ 3 callersFunction_build_session
()
backend/tests/test_studio_files_service.py:21
↓ 3 callersFunction_checker
()
backend/tests/test_script_processing_agents.py:27
↓ 3 callersFunction_coerce_duration
将提取结果里的时长安全转换为正整数秒数。
backend/app/services/studio/shot_semantic_defaults.py:35
↓ 3 callersFunction_coerce_enum
将提取结果里的字符串安全转换为枚举;非法值直接忽略。
backend/app/services/studio/shot_semantic_defaults.py:22
↓ 3 callersFunction_count_hits
统计一段文本中命中的阶段关键词数量。
backend/app/services/studio/action_beats.py:80
↓ 3 callersFunction_dialogue_line_mode
(value: Any)
backend/app/services/studio/shot_extracted_dialogue_candidates.py:54
↓ 3 callersFunction_elapsed_ms_from_datetimes
( started_at: datetime | None, finished_at: datetime | None, *, now: datetime | None = None, )
backend/app/core/task_manager/stores.py:52
↓ 3 callersMethod_ensure_not_timed_out
(self, task_id: str, started_at: float)
backend/app/services/worker/task_executor.py:184
↓ 3 callersFunction_find_asset_id
(model: type, q: str)
backend/app/services/studio/entity_existence.py:60
↓ 3 callersFunction_flush_refresh_candidate
刷新 candidate,避免响应序列化时触发异步懒加载。
backend/app/services/studio/shot_extracted_dialogue_candidates.py:31
↓ 3 callersFunction_is_terminal_status
(status: TaskStatus)
backend/app/core/task_manager/stores.py:64
↓ 3 callersFunction_link_spec
(entity_type: str)
backend/app/services/studio/shot_assets.py:41
↓ 3 callersMethod_normalize
子类可覆盖:将 LLM 返回的 dict 规范化为 output_model 所需结构。默认 identity。
backend/app/chains/agents/base.py:166
↓ 3 callersFunction_override_db
(db: _DummyDB)
backend/tests/test_shot_character_links_api_responses.py:20
↓ 3 callersFunction_patch_httpx_client
(monkeypatch: pytest.MonkeyPatch, transport: httpx.MockTransport)
backend/tests/core/integrations/test_video_adapters.py:17
↓ 3 callersFunction_payload_from_base_and_images
( *, base: AssetImageBaseDraft, images: list[str] | None, )
backend/app/services/studio/generation/asset_image/build_submission.py:24
↓ 3 callersFunction_payload_value
(payload: dict[str, Any], key: str)
backend/app/services/studio/shot_assets_overview.py:24
↓ 3 callersFunction_resolve_related_shot_id
仅解析和镜头直接相关的生成任务。
backend/app/services/studio/image_task_runner.py:226
↓ 3 callersFunction_seed_provider
(db: _FakeLlmDB, provider_id: str = "p-1")
backend/tests/test_llm_api_responses.py:67
↓ 3 callersFunction_task_record_from_row
(row: GenerationTask)
backend/app/core/task_manager/stores.py:157
↓ 3 callersFunction_to_sync_database_url
(url: str)
backend/app/core/db_sync.py:16
↓ 3 callersFunctionaddSelectedEntities
(kind: EntityKind)
front/src/pages/aiStudio/chapter/ChapterPrep.tsx:366
↓ 3 callersFunctionapplyTaskCancelState
( currentTask: RelationTaskState | null, data?: { task_id?: string | null; status?: string | null; cancel_
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:353
↓ 3 callersFunctionapply_shot_semantic_defaults_from_draft
按镜头序号匹配草稿,并将镜头语言默认建议回写到 ShotDetail。
backend/app/services/studio/shot_semantic_defaults.py:75
↓ 3 callersFunctionbeginResize
(type: 'left' | 'right', e: React.PointerEvent)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:1815
↓ 3 callersFunctionbuild_frame_base_draft
构造分镜帧基础草稿,并附带最终渲染阶段仍需保留的高优先级约束。
backend/app/services/studio/generation/frame/build_base.py:21
↓ 3 callersFunctionbuild_frame_context
( *, shot_id: str, frame_type: ShotFrameType, items: list[ShotLinkedAssetItem], )
backend/app/services/studio/generation/frame/build_context.py:42
↓ 3 callersMethodcheckEntityNamesExistenceApiV1StudioEntitiesExistenceCheckPost
* 批量检测资产名称是否存在(模糊匹配,不分页) * @returns ApiResponse_EntityNameExistenceCheckResponse_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioEntitiesService.ts:19
↓ 3 callersFunctionclamp
(n: number, min: number, max: number)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:282
↓ 3 callersMethodcreateAssetImageGenerationTaskApiV1StudioImageTasksAssetsAssetTypeAssetIdImageTasksPost
* 道具/场景/服装图片生成(任务版) * 为道具/场景/服装创建图片生成任务。 * * - asset_type: prop / scene / costume * - path 参数 asset_id 为对应资产 ID * - body.imag
front/src/services/generated/services/StudioImageTasksService.ts:76
↓ 3 callersFunctioncreateRelationTaskState
( data: AsyncTaskCreateLike, options?: { cancelRequested?: boolean }, )
front/src/pages/aiStudio/project/ProjectWorkbench/chapterDivisionTasks.ts:61
↓ 3 callersMethodcreateShotFrameImageGenerationTaskApiV1StudioImageTasksShotShotIdFrameImageTasksPost
* 镜头分镜帧图片生成(任务版) * 为镜头分镜帧图片生成任务(基于 `shot_id + frame_type` 自动定位数据)。 * @returns ApiResponse_TaskCreated_ Successful Response * @throws Ap
front/src/services/generated/services/StudioImageTasksService.ts:187
↓ 3 callersMethodcreate_agent
生成可执行 runnable: - 优先使用 `langchain.agents.create_agent`,把 `system_prompt` 作为系统提示词传入 - structured_output 不为 None 时,通过 `response
backend/app/chains/agents/base.py:241
↓ 3 callersFunctioncreate_project_asset_link
创建或补全项目-章节-镜头-资产关联。
backend/app/services/studio/shot_assets.py:78
↓ 3 callersMethoddelete
(self, obj: object)
backend/tests/test_shot_subresource_api_responses.py:96
↓ 3 callersMethoddivide_script
(self, *, script_text: str)
backend/app/chains/agents/script_divider_agent.py:75
↓ 3 callersFunctionencodeWorkbenchAssetEditReturnTo
(projectId: string, tab: WorkbenchAssetTabParam)
front/src/pages/aiStudio/project/ProjectWorkbench/utils/workbenchAssetReturnTo.ts:3
↓ 3 callersFunctiongenerateImages
(kind: 'scene' | 'prop' | 'role')
front/src/pages/aiStudio/chapter/ChapterPrep.tsx:549
↓ 3 callersFunctiongetErrorMessage
(e: unknown)
front/src/pages/aiStudio/shots/ChapterShotsPage.tsx:46
↓ 3 callersFunctiongetProjectEditorPath
(projectId: string)
front/src/pages/aiStudio/project/ProjectWorkbench/routes.ts:17
← previousnext →201–300 of 2,103, ranked by callers