set version in an env variable for testing (#5100)

This commit is contained in:
Jack Amadeo
2025-10-11 10:31:44 -04:00
committed by GitHub
parent 0baca17ba8
commit c70f0231e6
6 changed files with 11 additions and 9 deletions
+2 -1
View File
@@ -133,7 +133,8 @@ impl ClientHandler for GooseClient {
capabilities: ClientCapabilities::builder().build(),
client_info: Implementation {
name: "goose".to_string(),
version: env!("CARGO_PKG_VERSION").to_owned(),
version: std::env::var("GOOSE_MCP_CLIENT_VERSION")
.unwrap_or(env!("CARGO_PKG_VERSION").to_owned()),
icons: None,
title: None,
website_url: None,