MCPcopy Index your code

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

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

↓ 8 callersMethodset_status
(self, task_id: str, status: TaskStatus)
backend/app/core/task_manager/stores.py:198
↓ 7 callersFunction_fake_preparation_state
()
backend/tests/test_shot_extracted_candidates_api_responses.py:35
↓ 7 callersFunctionbuild_shot_preparation_state
组装分镜准备页所需的统一聚合状态。
backend/app/services/studio/shot_preparation_state.py:26
↓ 7 callersFunctionderive_video_preview
( db, *, base: VideoBaseDraft, context: VideoGenerationContext, )
backend/app/services/studio/generation/video/derive_preview.py:30
↓ 7 callersFunctionensure_not_exists
确保给定主键对应的实体不存在。
backend/app/services/common/validators.py:48
↓ 7 callersFunctionentity_already_exists
实体已存在错误。
backend/app/services/common/errors.py:13
↓ 7 callersMethodgenerate
( self, *, cfg: ProviderConfig, inp: ImageGenerationInput, timeout_s:
backend/app/core/integrations/openai/images.py:27
↓ 7 callersMethodgetChapterApiV1StudioChaptersChapterIdGet
* 获取章节 * @returns ApiResponse_ChapterRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioChaptersService.ts:87
↓ 7 callersFunctiongetShotExtractionSummary
(shot: ShotRead | null | undefined)
front/src/pages/aiStudio/shots/ChapterShotEditPage.tsx:120
↓ 7 callersFunctionnormalizeAssetName
(value?: string | null)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:373
↓ 7 callersFunctionrequire_optional_entity
如果传入了实体 ID,则校验其存在性。
backend/app/services/common/validators.py:28
↓ 6 callersFunction_build_s3_client
()
backend/app/core/storage.py:34
↓ 6 callersFunction_build_session
()
backend/tests/test_common_services.py:19
↓ 6 callersFunction_cancel_if_requested
在阶段边界检查取消请求,并统一完成 cancelled 收尾。
backend/app/services/script_processing_tasks.py:81
↓ 6 callersFunction_create_analysis_task
( db: AsyncSession, *, task_kind: str, relation_type: str, relation_entity_id: str, ru
backend/app/services/script_processing_tasks.py:481
↓ 6 callersFunction_find_active_task
按业务关联查询任意活动任务。 这里的目标只是“是否已有运行中的同类任务”,不需要挑出“最新”那一条。 因此直接从 relation link 侧过滤,再按活动状态做一次连接,并去掉排序, 避免在任务量大时触发 MySQL 的大排序与 sort buffer 压力。
backend/app/services/script_processing_tasks.py:107
↓ 6 callersFunction_normalize_key
(key: str)
backend/app/core/storage.py:49
↓ 6 callersFunction_now_ts
()
backend/app/core/task_manager/stores.py:20
↓ 6 callersFunction_override_db
(db: _DummyDB)
backend/tests/test_image_tasks_api_responses.py:39
↓ 6 callersFunction_override_db
(db: _FakeLlmDB)
backend/tests/test_llm_api_responses.py:109
↓ 6 callersFunction_prepare_shot_frame_input
将 input_dict 转为 prompt 模板所需格式,mood_tags 转为字符串。
backend/app/chains/agents/shot_frame_prompt_agents.py:14
↓ 6 callersFunction_seed_project_and_shot
(db: _FakeShotSubresourceDB)
backend/tests/test_shot_subresource_api_responses.py:116
↓ 6 callersFunction_to_app_status
(status: str | GenerationTaskStatus)
backend/app/core/task_manager/stores.py:36
↓ 6 callersFunction_utc_now
()
backend/app/services/studio/shot_extracted_candidates.py:24
↓ 6 callersFunctionbuild_shot_read
( db: AsyncSession, *, shot: Shot, )
backend/app/services/studio/shots.py:151
↓ 6 callersFunctioncreate_extract_task
( db: AsyncSession, *, project_id: str, chapter_id: str, script_division: dict, consis
backend/app/services/script_processing_tasks.py:282
↓ 6 callersFunctiondelete
删除镜头。
backend/app/services/studio/shots.py:243
↓ 6 callersMethodget
(self, model: type, entity_id)
backend/tests/test_task_status_api_responses.py:35
↓ 6 callersMethodget
(self, model: type, entity_id: str)
backend/tests/test_llm_api_responses.py:33
↓ 6 callersMethodgetTaskStatusApiV1FilmTasksTaskIdStatusGet
* 查询任务状态/进度(轮询) * @returns ApiResponse_TaskStatusRead_ Successful Response * @throws ApiError
front/src/services/generated/services/FilmService.ts:153
↓ 6 callersFunctionget_or_create_settings
获取或创建单例设置。
backend/app/services/llm/manage.py:258
↓ 6 callersMethodget_status
(self, *, task_id: str)
backend/app/core/task_manager/manager.py:66
↓ 6 callersFunctionisActionablePreparationShot
(shot: ShotRead)
front/src/pages/aiStudio/shots/ChapterShotEditPage.tsx:149
↓ 6 callersFunctionload
(opts?: { page?: number; pageSize?: number; q?: string })
front/src/pages/aiStudio/assets/tabs/AssetTypeTab.tsx:75
↓ 6 callersFunctionloadProjectAssetOptions
(kind: 'scene' | 'prop' | 'costume')
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:4012
↓ 6 callersFunctionnotFound
(message = 'Not found')
front/src/mocks/handlers.ts:63
↓ 6 callersFunctionnotifyExistingTask
( task: Pick<RelationTaskState, 'cancelRequested'> | null | undefined, options: NotifyExistingTaskOptions,
front/src/pages/aiStudio/components/taskActionHelpers.ts:122
↓ 6 callersFunctionopenModelModal
(m?: ModelRead)
front/src/pages/aiStudio/models/ModelsTab.tsx:250
↓ 6 callersFunctionopenProviderModal
(p?: ProviderRead)
front/src/pages/aiStudio/models/ProvidersTab.tsx:231
↓ 6 callersFunctionregister_image_model_capability
兼容入口:注册模型能力覆盖(按前缀匹配,大小写不敏感)。
backend/app/core/integrations/image_capabilities.py:36
↓ 6 callersMethodrequest_cancel
(self, task_id: str, reason: str | None = None)
backend/app/core/task_manager/stores.py:585
↓ 6 callersFunctionresolve
(options: ApiRequestOptions, resolver?: T | Resolver<T>)
front/src/services/generated/core/request.ts:132
↓ 6 callersFunctionresolve_effective_base_url
按类别解析 Provider 实际 base_url:类别覆盖 > 通用 > 内置默认。
backend/app/services/llm/provider_resolver.py:88
↓ 6 callersMethodset_progress
(self, task_id: str, progress: int)
backend/app/core/task_manager/stores.py:199
↓ 6 callersMethodset_result
(self, task_id: str, result: dict[str, Any])
backend/app/core/task_manager/stores.py:576
↓ 6 callersFunctiontoRelationTaskStateFromStatusRead
( data: Pick< TaskStatusRead, | 'task_id' | 'status' | 'progress' | 'cancel_requested'
front/src/pages/aiStudio/project/ProjectWorkbench/chapterDivisionTasks.ts:73
↓ 6 callersFunctionuseCancelableRelationTask
(options: UseRelationTaskPollingOptions)
front/src/pages/aiStudio/project/ProjectWorkbench/chapterDivisionTasks.ts:293
↓ 6 callersFunctionuseProjectStyleOptions
()
front/src/pages/aiStudio/project/useProjectStyleOptions.ts:109
↓ 6 callersFunctionuseTaskPageContext
( contexts: Array<TaskPageContext | null | undefined>, )
front/src/pages/aiStudio/components/taskPageContext.ts:5
↓ 5 callersFunction_build_session
()
backend/tests/test_shot_character_links.py:24
↓ 5 callersMethod_elapsed_ms_for_record
(self, rec: TaskRecord)
backend/app/core/task_manager/stores.py:304
↓ 5 callersFunction_extract_json_from_text
从 LLM 原始输出中剥离 markdown 代码块并提取 JSON 字符串。
backend/app/chains/agents/base.py:21
↓ 5 callersFunction_flush_refresh_candidate
刷新 candidate,避免响应序列化时触发异步懒加载。
backend/app/services/studio/shot_extracted_candidates.py:28
↓ 5 callersFunction_norm
(value: str)
backend/app/core/tasks/registry.py:16
↓ 5 callersFunction_norm
(value: str)
backend/app/services/llm/provider_registry.py:28
↓ 5 callersFunction_patch_httpx_client
让各 adapter 内 `import httpx` 后使用的 AsyncClient 走 MockTransport。
backend/tests/core/integrations/test_image_adapters.py:21
↓ 5 callersFunction_score_frame_guidance_line
按帧类型和文本特征给图片 guidance 打分,控制最终 prompt 的收敛顺序。
backend/app/services/studio/generation/frame/derive_preview.py:27
↓ 5 callersFunction_seed_base_graph
(db: AsyncSession)
backend/tests/test_shot_character_links.py:32
↓ 5 callersFunction_seed_shot_detail
(db: _FakeShotSubresourceDB, shot_id: str = "shot-1")
backend/tests/test_shot_subresource_api_responses.py:163
↓ 5 callersMethod_update
(self, task_id: str, **kwargs: Any)
backend/app/core/task_manager/stores.py:310
↓ 5 callersMethod_update_columns
(self, task_id: str, **kwargs: Any)
backend/app/core/task_manager/stores.py:555
↓ 5 callersMethodaextract
异步执行。
backend/app/chains/agents/base.py:329
↓ 5 callersFunctionbuild_run_args
( db: AsyncSession, *, shot_id: str, frame_type: str, )
backend/app/services/film/shot_frame_prompt_tasks.py:610
↓ 5 callersFunctionbuild_video_base_draft
( *, shot_id: str, prompt: str | None, )
backend/app/services/studio/generation/video/build_base.py:14
↓ 5 callersFunctionbuild_video_context
( db: AsyncSession, *, shot_id: str, reference_mode: str, images: list[str] | None, te
backend/app/services/studio/generation/video/build_context.py:85
↓ 5 callersFunctioncreate_provider
创建供应商。
backend/app/services/llm/manage.py:78
↓ 5 callersMethoddeleteShotApiV1StudioShotsShotIdDelete
* 删除镜头 * @returns ApiResponse_NoneType_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotsService.ts:470
↓ 5 callersMethodfinally
(onFinally?: (() => void) | null)
front/src/services/generated/core/CancelablePromise.ts:105
↓ 5 callersMethodget
(self, task_id: str)
backend/app/core/task_manager/stores.py:403
↓ 5 callersMethodget
(self, task_id: str)
backend/app/core/task_manager/stores.py:626
↓ 5 callersFunctionget_shot_assets_overview
( db: AsyncSession, *, shot_id: str, )
backend/app/services/studio/shot_assets_overview.py:43
↓ 5 callersFunctioninfer_action_beat_sequence
将动作拍点列表转换为带阶段信息的序列。
backend/app/services/studio/action_beats.py:120
↓ 5 callersFunctionisString
(value: any)
front/src/services/generated/core/request.ts:16
↓ 5 callersMethodlistShotsApiV1StudioShotsGet
* 镜头列表(分页) * @returns ApiResponse_PaginatedData_ShotRead__ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotsService.ts:33
↓ 5 callersFunctionload
()
front/src/pages/aiStudio/project/ProjectWorkbench/chapterDivisionTasks.ts:209
↓ 5 callersFunctionload
(opts?: { page?: number; pageSize?: number; q?: string })
front/src/pages/aiStudio/assets/tabs/ActorsTab.tsx:28
↓ 5 callersFunctionload
()
front/src/pages/aiStudio/agents/AgentManagement.tsx:78
↓ 5 callersFunctionloadCardThumbs
(frameType: PromptFrameType, slotIdOverride?: number | null, retryCount = 1)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:4383
↓ 5 callersFunctionnormalizeUpdateImagePayload
(payload: UpdateImagePayload)
front/src/pages/aiStudio/assets/assetAdapters.ts:17
↓ 5 callersFunctionnot_belong_to
归属关系校验错误。
backend/app/services/common/errors.py:30
↓ 5 callersFunctionopenEditModal
(chapter: Chapter)
front/src/pages/aiStudio/project/ProjectWorkbench/tabs/ChaptersTab.tsx:125
↓ 5 callersFunctionpick_action_beat_for_frame
按帧类型挑选最适合作为当前帧主拍点的动作项。
backend/app/services/studio/action_beats.py:133
↓ 5 callersFunctionregister_task_adapter
注册任务执行器;相同 key+factory 重复注册视为幂等。
backend/app/core/tasks/registry.py:20
↓ 5 callersFunctionrequired_field
必填字段错误。
backend/app/services/common/errors.py:18
↓ 5 callersFunctionresolve_image_size
解析图片最终 size。 普通图片任务优先保留显式传入的 requested_size; 视频参考帧场景则优先根据 target_ratio + resolution_profile 从 capability 推导, 以保证关键帧与目标视频画幅保持一致。
backend/app/core/integrations/image_capabilities.py:78
↓ 5 callersFunctionresolve_video_capability
(*, provider: ProviderKey, model: str | None)
backend/app/core/integrations/video_capabilities.py:66
↓ 5 callersMethodscalar_one_or_none
(self)
backend/tests/test_image_task_services.py:53
↓ 5 callersFunctionsendToClient
* @param {Client} client * @param {any} message * @param {Array<Transferable>} transferrables * @returns {Promise<any>}
front/public/mockServiceWorker.js:288
↓ 5 callersMethodset_error
(self, task_id: str, error: str)
backend/app/core/task_manager/stores.py:579
↓ 5 callersMethodupdateShotApiV1StudioShotsShotIdPatch
* 更新镜头 * @returns ApiResponse_ShotRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotsService.ts:445
↓ 5 callersFunctionupdate_shot_detail
( shot_id: str, body: ShotDetailUpdate, db: AsyncSession = Depends(get_db), )
backend/app/api/v1/routes/studio/shots.py:523
↓ 4 callersFunction_asset_read_payload
(obj: Any, thumbnail: str)
backend/app/services/studio/entity_crud.py:23
↓ 4 callersFunction_build_session
()
backend/tests/test_shot_frame_prompt_tasks_service.py:39
↓ 4 callersMethod_cancel_if_requested
(self, ctx: WorkerTaskContext)
backend/app/services/worker/task_executor.py:151
↓ 4 callersFunction_empty_item
(raw: str)
backend/app/services/studio/entity_existence.py:104
↓ 4 callersFunction_enum_value
(value: Any)
backend/app/services/studio/generation/asset_image/build_base.py:52
↓ 4 callersMethod_load_context
(self, db: Session, task_id: str)
backend/app/services/worker/task_executor.py:144
↓ 4 callersMethod_mark_failed
(self, task_id: str, error: str)
backend/app/services/worker/task_executor.py:135
↓ 4 callersFunction_override_db
(db: _FakePromptDB)
backend/tests/test_api_response_envelopes.py:69
↓ 4 callersFunction_override_db
(db: _FakeEntityDB)
backend/tests/test_entities_api_responses.py:62
← previousnext →101–200 of 2,103, ranked by callers