feat: add ask user question
This commit is contained in:
@@ -14,8 +14,7 @@ type Config struct {
|
||||
ModelName string // LLM 模型名
|
||||
APIKey string // API Key
|
||||
BaseURL string // API Base URL(可选)
|
||||
MaxChapters int // 最大章节数
|
||||
Style string // 写作风格(default/suspense/fantasy/romance)
|
||||
Style string // 写作风格(default/suspense/fantasy/romance)
|
||||
}
|
||||
|
||||
// Prompts 嵌入的提示词。
|
||||
@@ -71,7 +70,4 @@ func (c *Config) FillDefaults() {
|
||||
if c.Style == "" {
|
||||
c.Style = "default"
|
||||
}
|
||||
if c.MaxChapters <= 0 {
|
||||
c.MaxChapters = 3
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user