Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HisMax/RedInk
/ functions
Functions
355 in github.com/HisMax/RedInk
⨍
Functions
355
◇
Types & classes
44
↳
Endpoints
25
Function
setupAutoSave
()
frontend/src/stores/generator.ts:564
Function
startContentGeneration
* 开始生成内容(标题、文案、标签) * 设置状态为生成中并清除之前的错误
frontend/src/stores/generator.ts:450
Function
startGeneration
* 开始图片生成流程 * 初始化进度状态和图片列表
frontend/src/stores/generator.ts:291
Function
startGenerationFlow
()
frontend/src/composables/useGenerationRunner.ts:19
Function
syncRawFromPages
* 根据 pages 数组重新生成 raw 文本 * 用于保持 raw 和 pages 的数据同步
frontend/src/stores/generator.ts:210
Function
temp_history_dir
创建临时历史目录
tests/conftest.py:30
Function
testImageConnection
* 测试图片服务商连接(弹窗中)
frontend/src/composables/useProviderForm.ts:476
Function
testImageProviderInList
* 测试列表中的图片服务商
frontend/src/composables/useProviderForm.ts:500
Function
testTextConnection
* 测试文本服务商连接(弹窗中)
frontend/src/composables/useProviderForm.ts:317
Function
testTextProviderInList
* 测试列表中的文本服务商
frontend/src/composables/useProviderForm.ts:341
Function
test_cached_generation_events_do_not_call_generator
(tmp_path)
tests/history_and_image_service_test.py:62
Function
test_classifies_405_html_as_endpoint_method_mismatch
()
tests/errors_test.py:49
Function
test_classifies_common_http_statuses
()
tests/errors_test.py:68
Function
test_classifies_fake_ip_tls_error
()
tests/errors_test.py:8
Function
test_classifies_model_endpoint_mismatch
()
tests/errors_test.py:39
Function
test_classifies_proxy_unavailable
()
tests/errors_test.py:27
Function
test_config_test_missing_type_returns_structured_error
(client)
tests/errors_test.py:97
Function
test_config_test_preserves_classified_http_status
(client, monkeypatch)
tests/errors_test.py:117
Function
test_config_test_without_json_content_type_returns_structured_error
(client)
tests/errors_test.py:107
Function
test_connection
测试服务商连接 请求体: - type: 服务商类型(google_genai/google_gemini/openai_compatible/image_api) - provider_name: 服务商名称(用于从配置读取 AP
backend/routes/config_routes.py:130
Function
test_error_payload_keeps_compat_error_message
()
tests/errors_test.py:78
Function
test_explicit_response_format_is_removed_after_unknown_parameter
()
tests/image_api_client_test.py:75
Function
test_history_update_protects_images_and_completed_status
(tmp_path)
tests/history_and_image_service_test.py:16
Function
test_image_api_chat_test_does_not_treat_405_as_success
(monkeypatch)
tests/errors_test.py:284
Function
test_merge_generated_image_is_index_aligned
(tmp_path)
tests/history_and_image_service_test.py:43
Function
test_normalize_error_result_wraps_legacy_service_error
()
tests/errors_test.py:86
Function
test_openai_compatible_test_accepts_hidden_reasoning_token_response
(monkeypatch)
tests/errors_test.py:212
Function
test_openai_compatible_test_accepts_reasoning_only_response
(monkeypatch)
tests/errors_test.py:176
Function
test_openai_compatible_test_retries_with_max_completion_tokens
(monkeypatch)
tests/errors_test.py:247
Function
test_openai_compatible_test_uses_configured_endpoint_for_real_llm_request
(monkeypatch)
tests/errors_test.py:138
Function
test_outline_missing_topic_returns_structured_error
(client)
tests/errors_test.py:306
Function
test_real_models_do_not_send_response_format_by_default
()
tests/image_api_client_test.py:40
Function
test_response_extractor_supports_b64_data_url_and_url
()
tests/image_api_client_test.py:96
Function
test_retry_failed_images_creates_task_dir_and_merges_by_index
(tmp_path)
tests/history_and_image_service_test.py:127
Function
test_single_image_generation_writes_history_immediately
(tmp_path)
tests/history_and_image_service_test.py:96
Function
test_sse_error_event_is_structured
()
tests/errors_test.py:316
Function
test_worker_count_requires_explicit_high_concurrency
()
tests/image_api_client_test.py:55
Method
type
(self)
backend/errors.py:24
Function
updateHistory
( recordId: string, data: UpdateHistoryParams )
frontend/src/api/history.ts:89
Function
updateImage
* 更新指定图片的URL * @param index 页面索引 * @param newUrl 新的图片URL
frontend/src/stores/generator.ts:329
Function
updateImageForm
* 更新图片表单数据
frontend/src/composables/useProviderForm.ts:528
Function
updatePage
* 更新指定页面的内容 * @param index 页面索引 * @param content 新的页面内容
frontend/src/stores/generator.ts:197
Function
updateProgress
* 更新图片生成进度 * @param index 页面索引 * @param status 生成状态 * @param url 图片URL(可选) * @param error 错误信息(可选)
frontend/src/stores/generator.ts:311
Function
updateTextForm
* 更新文本表单数据
frontend/src/composables/useProviderForm.ts:521
Function
update_config
更新配置 请求体: - image_generation: 图片生成配置(可选) - text_generation: 文本生成配置(可选) 返回: - success: 是否成功
backend/routes/config_routes.py:87
Function
update_history
更新历史记录 支持部分更新,只更新提供的字段。 每次更新都会自动刷新 updated_at 时间戳。 路径参数: - record_id: 记录 ID 请求体(均为可选): - o
backend/routes/history_routes.py:176
Function
useGenerationRunner
( hasFailedImages: ComputedRef<boolean>, setError: (error: AppError | null) => void )
frontend/src/composables/useGenerationRunner.ts:9
Function
useImageRetry
(setError: (error: AppError | null) => void)
frontend/src/composables/useImageRetry.ts:13
Function
useProviderForm
()
frontend/src/composables/useProviderForm.ts:75
Method
validate_config
验证配置
backend/generators/openai_compatible.py:44
Method
validate_config
验证配置
backend/generators/google_genai.py:325
Method
validate_config
验证配置是否有效 Returns: 配置是否有效
backend/generators/base.py:39
Method
worker_count
(self)
backend/generators/image_provider_policy.py:61
Function
wrapper
(*args, **kwargs)
backend/utils/genai_client.py:16
Function
wrapper
(*args, **kwargs)
backend/utils/text_client.py:15
← previous
301–355 of 355, ranked by callers