update:1.优化 AI 流式生成和进度显示系统 2.新增写作风格系统提示词支持 3.灵感模式功能增强,支持灵感重写 4.设置页面功能扩展,新增Gemini适配器 5.提示词模板系统优化,调整灵感模式提示词
This commit is contained in:
@@ -557,6 +557,24 @@ export const inspirationApi = {
|
||||
error?: string;
|
||||
}>('/inspiration/generate-options', data),
|
||||
|
||||
// 基于用户反馈重新生成选项(新增)
|
||||
refineOptions: (data: {
|
||||
step: 'title' | 'description' | 'theme' | 'genre';
|
||||
context: {
|
||||
initial_idea?: string;
|
||||
title?: string;
|
||||
description?: string;
|
||||
theme?: string;
|
||||
};
|
||||
feedback: string;
|
||||
previous_options?: string[];
|
||||
}) =>
|
||||
api.post<unknown, {
|
||||
prompt?: string;
|
||||
options: string[];
|
||||
error?: string;
|
||||
}>('/inspiration/refine-options', data),
|
||||
|
||||
// 智能补全缺失信息
|
||||
quickGenerate: (data: {
|
||||
title?: string;
|
||||
|
||||
Reference in New Issue
Block a user