MCPcopy Create free account

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

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

↓ 3 callersFunctiongetProviderName
(id: string)
front/src/pages/aiStudio/models/ModelsTab.tsx:125
↓ 3 callersMethodgetShotDetailApiV1StudioShotDetailsShotIdGet
* 获取镜头细节 * @returns ApiResponse_ShotDetailRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotDetailsService.ts:75
↓ 3 callersFunctionget_default_model_by_category
按类别解析默认模型,仅从单例 ModelSettings 读取。
backend/app/services/llm/resolver.py:67
↓ 3 callersFunctionget_model_by_category
按类别解析模型,可传入显式模型(或 id),也可从默认设置解析。
backend/app/services/llm/resolver.py:30
↓ 3 callersFunctionget_provider_by_id_or_obj
通过 Provider 实体或 provider_id 获取 Provider。
backend/app/services/llm/resolver.py:25
↓ 3 callersFunctionget_provider_by_model_or_id
通过 Model 实体或 model_id 获取 Provider。
backend/app/services/llm/resolver.py:90
↓ 3 callersFunctionget_provider_spec
(provider_key: str)
backend/app/services/llm/provider_registry.py:77
↓ 3 callersFunctionget_shot_video_readiness
实时聚合镜头视频生成准备度,不写入数据库状态。
backend/app/services/studio/shot_video_readiness.py:137
↓ 3 callersFunctionisBlob
(value: any)
front/src/services/generated/core/request.ts:24
↓ 3 callersFunctionisDefined
(value: T | null | undefined)
front/src/services/generated/core/request.ts:12
↓ 3 callersFunctionisRecord
(value: unknown)
front/src/services/filmTaskLinks.ts:8
↓ 3 callersFunctionisStringWithValue
(value: any)
front/src/services/generated/core/request.ts:20
↓ 3 callersFunctionisValidTab
(tab: string | null)
front/src/pages/aiStudio/assets/AssetManager.tsx:12
↓ 3 callersMethodis_cancel_requested
(self, task_id: str)
backend/app/core/task_manager/stores.py:205
↓ 3 callersFunctionis_front_view
(view_angle: AssetViewAngle | str | None)
backend/app/services/studio/image_tasks.py:71
↓ 3 callersFunctionjson_dumps_for_log
(obj: Any)
backend/app/core/integrations/http_logging.py:101
↓ 3 callersMethodlistModelsApiV1LlmModelsGet
* 列出模型(分页) * @returns ApiResponse_PaginatedData_ModelRead__ Successful Response * @throws ApiError
front/src/services/generated/services/LlmService.ts:210
↓ 3 callersMethodlistShotLinkedAssetsApiV1StudioShotsShotIdLinkedAssetsGet
* 获取镜头关联的角色/道具/场景/服装(分页) * @returns ApiResponse_PaginatedData_ShotLinkedAssetItem__ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotsService.ts:491
↓ 3 callersMethodlistShotRuntimeSummaryApiV1StudioShotsRuntimeSummaryGet
* 按章节获取镜头运行时任务态摘要 * @returns ApiResponse_list_ShotRuntimeSummaryRead__ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotsService.ts:95
↓ 3 callersFunctionlistTaskLinksNormalized
(params: ListTaskLinksParams)
front/src/services/filmTaskLinks.ts:44
↓ 3 callersFunctionload
()
front/src/pages/aiStudio/models/ProvidersTab.tsx:64
↓ 3 callersFunctionload
()
front/src/pages/aiStudio/models/ModelsTab.tsx:72
↓ 3 callersFunctionloadChapterFlowStats
( chapters: ChapterLike[], )
front/src/pages/aiStudio/project/ProjectWorkbench/projectFlowStats.ts:56
↓ 3 callersFunctionloadProjectFlowStatsForChapters
( chapters: ChapterLike[], )
front/src/pages/aiStudio/project/ProjectWorkbench/projectFlowStats.ts:63
↓ 3 callersFunctionlog_image_http_request
(*, provider: str, method: str, url: str, headers: dict[str, str], body_log: str)
backend/app/core/integrations/http_logging.py:72
↓ 3 callersFunctionlog_task_failure
(task_kind: str, task_id: str, error: str)
backend/app/services/worker/task_logging.py:18
↓ 3 callersFunctionmakeLabel
(d: { id: string; name: string; thumb: string })
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:4054
↓ 3 callersMethodmark_cancelled
(self, task_id: str)
backend/app/core/task_manager/stores.py:204
↓ 3 callersFunctionnewId
(prefix: string)
front/src/pages/aiStudio/project/ProjectWorkbench/hooks/useProjectData.ts:9
↓ 3 callersFunctionnormalizeOptionItems
(items: OptionItem[] | null | undefined)
front/src/pages/aiStudio/project/useProjectStyleOptions.ts:41
↓ 3 callersFunctionopenAddEntity
(kind: 'scene' | 'prop' | 'role')
front/src/pages/aiStudio/chapter/ChapterPrep.tsx:451
↓ 3 callersFunctionopenEditEntity
(kind: 'scene' | 'prop' | 'role', id: string)
front/src/pages/aiStudio/chapter/ChapterPrep.tsx:412
↓ 3 callersFunctionopenPickFromAssets
(kind: 'scene' | 'prop' | 'role')
front/src/pages/aiStudio/chapter/ChapterPrep.tsx:498
↓ 3 callersFunctionphaseMeta
(phase?: ActionBeatPhaseRead['phase'])
front/src/pages/aiStudio/shots/components/ChapterShotBasicInfoSection.tsx:72
↓ 3 callersFunctionpick_consistency_relation_entity_id
(*, chapter_id: str | None, project_id: str | None)
backend/app/services/script_processing_tasks.py:255
↓ 3 callersFunctionpick_merge_relation_entity_id
(*, chapter_id: str | None, project_id: str | None)
backend/app/services/script_processing_tasks.py:248
↓ 3 callersFunctionpick_ordered_ref_file_ids
按旧语义按角度顺序挑选参考图 file_id(不下载文件)。
backend/app/services/studio/image_task_references.py:118
↓ 3 callersFunctionpick_variant_relation_entity_id
(*, chapter_id: str | None, project_id: str | None)
backend/app/services/script_processing_tasks.py:262
↓ 3 callersFunctionpreview_prompt_and_images
( db: AsyncSession, *, shot_id: str, reference_mode: str, prompt: str | None, images:
backend/app/services/film/generated_video.py:76
↓ 3 callersFunctionprocess
(key: string, value: any)
front/src/services/generated/core/request.ts:57
↓ 3 callersFunctionrefreshPromptAssetLinks
(shotId: string)
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:954
↓ 3 callersFunctionregister_video_model_capability
兼容入口:注册模型能力覆盖(按前缀匹配,大小写不敏感)。
backend/app/core/integrations/video_capabilities.py:34
↓ 3 callersMethodrenderAssetImagePromptApiV1StudioImageTasksAssetsAssetTypeAssetIdRenderPromptPost
* 道具/场景/服装图片提示词渲染 * @returns ApiResponse_RenderedPromptResponse_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioImageTasksService.ts:104
↓ 3 callersFunctionreset_db_runtime
在 Celery worker 子进程中重建 engine 与 sessionmaker。 这样可以避免 prefork 继承父进程中的 async engine,导致连接对象和事件循环 绑定错乱,触发 Future attached to a different loop。
backend/app/core/db.py:79
↓ 3 callersFunctionresolve_thumbnails
( db: AsyncSession, *, image_model: type, parent_field_name: str, parent_ids: list[str], )
backend/app/services/studio/entity_thumbnails.py:19
↓ 3 callersMethodrun
(self, task_id: str)
backend/app/services/worker/task_executor.py:217
↓ 3 callersFunctionrun_shot_frame_prompt_task
( task_id: str, run_args: dict, )
backend/app/services/film/shot_frame_prompt_tasks.py:776
↓ 3 callersFunctionsafe_body_for_log_openai
(body: dict[str, Any])
backend/app/core/integrations/http_logging.py:24
↓ 3 callersMethodset_error
(self, task_id: str, error: str)
backend/app/core/task_manager/stores.py:201
↓ 3 callersMethodstart
(self, *, task_id: str)
backend/app/core/task_manager/manager.py:59
↓ 3 callersFunctionsync_usage_from_character
( session: AsyncSession, *, file_id: str, character_id: str, usage_kind: FileUsageKind | s
backend/app/services/studio/file_usages.py:98
↓ 3 callersFunctiontoChapterRead
(c: Chapter)
front/src/mocks/handlers.ts:87
↓ 3 callersFunctiontoProjectRead
(p: Project)
front/src/mocks/handlers.ts:74
↓ 3 callersFunctiontoThumbUrl
(thumbnail?: string)
front/src/pages/aiStudio/project/ProjectWorkbench/tabs/ScenesTab.tsx:120
↓ 3 callersFunctiontoggleHiddenShots
(ids: string[])
front/src/pages/aiStudio/chapter/ChapterStudio.tsx:607
↓ 3 callersFunctiontoggleSelectAllNew
(kind: EntityKind)
front/src/pages/aiStudio/chapter/ChapterPrep.tsx:401
↓ 3 callersMethodupdateChapterApiV1StudioChaptersChapterIdPatch
* 更新章节 * @returns ApiResponse_ChapterRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioChaptersService.ts:108
↓ 3 callersMethodupdateShotDetailApiV1StudioShotDetailsShotIdPatch
* 更新镜头细节 * @returns ApiResponse_ShotDetailRead_ Successful Response * @throws ApiError
front/src/services/generated/services/StudioShotDetailsService.ts:96
↓ 3 callersFunctionupdate_file_meta
更新文件元信息,并按需写入 usage。
backend/app/services/studio/files.py:107
↓ 3 callersFunctionuseGenerationDraft
( options: UseGenerationDraftOptions<TBase, TContext, TDerived, TSubmitResult>, )
front/src/pages/aiStudio/hooks/useGenerationDraft.ts:50
↓ 3 callersFunctionvalidate_actor_image
( db: AsyncSession, *, actor_id: str, image_id: int | None, )
backend/app/services/studio/image_task_validation.py:21
↓ 3 callersFunctionvalidate_asset_image_and_relation_type
( db: AsyncSession, *, asset_type: str, asset_id: str, image_id: int | None, )
backend/app/services/studio/image_task_validation.py:44
↓ 3 callersFunctionvalidate_character_image
( db: AsyncSession, *, character_id: str, image_id: int | None, )
backend/app/services/studio/image_task_validation.py:96
↓ 3 callersFunctionvalidate_image_options
( *, provider: ProviderKey, model: str | None, input_: ImageGenerationInput, )
backend/app/core/integrations/image_capabilities.py:117
↓ 3 callersFunctionvalidate_images_count
(reference_mode: str, images: list[str])
backend/app/services/studio/generation/video/build_context.py:24
↓ 3 callersFunctionvalidate_video_options
( *, provider: ProviderKey, model: str | None, input_: VideoGenerationInput, )
backend/app/core/integrations/video_capabilities.py:100
↓ 3 callersFunctionwrite_division_result_to_chapter
将分镜结果写入指定章节;若章节已有镜头则拒绝写入。
backend/app/services/studio/script_division.py:48
↓ 2 callersMethod__init__
(self, store: TaskStore)
backend/app/core/task_manager/strategies.py:25
↓ 2 callersMethod__init__
( self, *, provider_config: ProviderConfig, input_: VideoGenerationInput,
backend/app/core/tasks/video_generation_tasks.py:212
↓ 2 callersMethod__init__
( self, *, provider_config: ProviderConfig, input_: ImageGenerationInput,
backend/app/core/tasks/image_generation_tasks.py:149
↓ 2 callersFunction_append_division_rows
( db_add, *, chapter_id: str, result: ScriptDivisionResult, )
backend/app/services/studio/script_division.py:17
↓ 2 callersFunction_apply_detail_defaults_from_shot_draft
将单镜提取草稿中的默认镜头语言写入到现有 ShotDetail。
backend/app/services/studio/shot_semantic_defaults.py:47
↓ 2 callersFunction_build_asset_prompt
( db, *, relation_type: str, name: str, description: str, tags: list[str] | None,
backend/app/services/studio/generation/asset_image/build_base.py:57
↓ 2 callersFunction_build_candidates_from_shot_draft
(shot_draft: Any)
backend/app/services/studio/shot_extracted_dialogue_candidates.py:60
↓ 2 callersFunction_build_candidates_from_shot_draft
( shot_draft: Any, *, character_by_name: dict[str, Any] | None = None, scene_by_name: dict[str
backend/app/services/studio/shot_extracted_candidates.py:65
↓ 2 callersFunction_build_chat_openai_model
( *, provider: Provider, model: Model, thinking: bool, import_error_detail: str, )
backend/app/services/llm/resolver.py:149
↓ 2 callersFunction_build_engine
()
backend/app/core/db.py:16
↓ 2 callersFunction_build_frame_guidance_reason
生成 guidance 被保留或压缩的可解释原因。
backend/app/services/studio/generation/frame/derive_preview.py:68
↓ 2 callersFunction_build_frame_guidance_reason_tag
生成更适合前端快速阅读的短标签。
backend/app/services/studio/generation/frame/derive_preview.py:118
↓ 2 callersFunction_build_neighbor_prompt_summary
生成相邻镜头摘要与承接目标。
backend/app/services/studio/shot_video_prompt_pack.py:202
↓ 2 callersFunction_build_project_style_options
()
backend/app/api/v1/routes/studio/projects.py:37
↓ 2 callersFunction_build_result
()
backend/tests/test_script_extract_cache.py:15
↓ 2 callersFunction_build_semantic_draft
构造带镜头语言默认建议的提取草稿。
backend/tests/test_shot_semantic_defaults_service.py:72
↓ 2 callersFunction_build_session
()
backend/tests/test_script_division.py:25
↓ 2 callersFunction_build_session
()
backend/tests/test_entity_create_character_linking.py:13
↓ 2 callersFunction_build_session_maker
(bind_engine: AsyncEngine)
backend/app/core/db.py:24
↓ 2 callersFunction_build_shot_read
( shot: Shot, *, extraction_counts: dict[str, int] | None = None, )
backend/app/services/studio/shots.py:112
↓ 2 callersFunction_cleanup_generated_prompt
(prompt: str)
backend/app/services/film/shot_frame_prompt_tasks.py:569
↓ 2 callersFunction_clear_category_default
将同 category 下所有记录的 is_default 置为 False(排除 exclude_id)。
backend/app/api/v1/routes/studio/prompts.py:62
↓ 2 callersFunction_collect_frame_guidance_lines
收集最终保留与被压缩掉的 guidance,供渲染与前端展示共用。
backend/app/services/studio/generation/frame/derive_preview.py:151
↓ 2 callersFunction_dedupe_keep_order
(items: list[str], *, limit: int = 4)
backend/app/services/studio/shot_video_prompt_pack.py:168
↓ 2 callersFunction_division_result
()
backend/tests/test_script_division.py:33
↓ 2 callersFunction_ensure_provider_supports_category
(*, provider: Provider, category: ModelCategoryKey | str)
backend/app/services/llm/manage.py:371
↓ 2 callersFunction_enum_or_str_value
(value: Any)
backend/app/services/studio/shot_assets_overview.py:34
↓ 2 callersFunction_enum_value
(x: object)
backend/app/core/task_manager/stores.py:28
↓ 2 callersFunction_error_message
将异常 detail 转为前端可读的 message。
backend/app/main.py:16
↓ 2 callersFunction_error_message
(detail: object)
backend/tests/support/llm_api_app.py:17
↓ 2 callersMethod_extract_structured_response
从 create_agent 返回的 state 中提取 structured_response。 LangChain 文档约定:structured response 放在 state['structured_response']。
backend/app/chains/agents/base.py:232
↓ 2 callersFunction_fallback_video_prompt
(pack: ShotVideoPromptPackRead)
backend/app/services/studio/shot_video_prompt_pack.py:337
↓ 2 callersFunction_fetch_extraction_counts_map
( db: AsyncSession, *, shot_ids: Iterable[str], )
backend/app/services/studio/shots.py:53
← previousnext →301–400 of 2,103, ranked by callers