Bump version to 1.6.1
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
a309006458
commit
840bc4d244
+1
-1
@@ -5,7 +5,7 @@ description = "Galaxy - AI-powered terminal"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
autobins = false
|
autobins = false
|
||||||
name = "galaxy"
|
name = "galaxy"
|
||||||
version = "1.6.0"
|
version = "1.6.1"
|
||||||
publish.workspace = true
|
publish.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
||||||
|
|||||||
@@ -586,9 +586,6 @@ pub fn extract_system_prompt(request: &api::Request) -> Option<String> {
|
|||||||
prompt.push_str(&format!("- Git branch: {}\n", git.branch));
|
prompt.push_str(&format!("- Git branch: {}\n", git.branch));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Some(ts) = &context.current_time {
|
|
||||||
prompt.push_str(&format!("- Current time (UTC): {}\n", ts));
|
|
||||||
}
|
|
||||||
prompt.push('\n');
|
prompt.push('\n');
|
||||||
|
|
||||||
if !context.project_rules.is_empty() {
|
if !context.project_rules.is_empty() {
|
||||||
|
|||||||
@@ -867,9 +867,6 @@ pub fn extract_system_prompt(request: &api::Request) -> Option<String> {
|
|||||||
prompt.push_str(&format!("- Git branch: {}\n", git.branch));
|
prompt.push_str(&format!("- Git branch: {}\n", git.branch));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Some(ts) = &context.current_time {
|
|
||||||
prompt.push_str(&format!("- Current time (UTC): {}\n", ts));
|
|
||||||
}
|
|
||||||
prompt.push('\n');
|
prompt.push('\n');
|
||||||
|
|
||||||
if !context.project_rules.is_empty() {
|
if !context.project_rules.is_empty() {
|
||||||
|
|||||||
@@ -148,9 +148,6 @@ impl PromptBuilder {
|
|||||||
if !ctx.git_branch.is_empty() {
|
if !ctx.git_branch.is_empty() {
|
||||||
lines.push(format!("- Git branch: {}", ctx.git_branch));
|
lines.push(format!("- Git branch: {}", ctx.git_branch));
|
||||||
}
|
}
|
||||||
if !ctx.current_time.is_empty() {
|
|
||||||
lines.push(format!("- Current time (UTC): {}", ctx.current_time));
|
|
||||||
}
|
|
||||||
|
|
||||||
Some(lines.join("\n"))
|
Some(lines.join("\n"))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user