LLM支持优化
This commit is contained in:
@@ -56,6 +56,10 @@ pub struct TagCommand {
|
||||
#[arg(long)]
|
||||
dry_run: bool,
|
||||
|
||||
/// Enable thinking mode for this tag (override config)
|
||||
#[arg(short = 't', long)]
|
||||
think: bool,
|
||||
|
||||
/// Skip interactive prompts
|
||||
#[arg(short = 'y', long)]
|
||||
yes: bool,
|
||||
@@ -285,7 +289,7 @@ impl TagCommand {
|
||||
|
||||
println!("{}", messages.ai_generating_tag(commits.len()));
|
||||
|
||||
let generator = ContentGenerator::new(&manager).await?;
|
||||
let generator = ContentGenerator::new_with_think(&manager, self.think).await?;
|
||||
generator.generate_tag_message(version, &commits, language).await
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user