feat: add Snowflake provider (#2488)

Co-authored-by: Michael Neale <michael.neale@gmail.com>
This commit is contained in:
Tyler White
2025-06-01 23:37:00 -04:00
committed by GitHub
parent 44fa6a442e
commit 8c9a89efde
12 changed files with 1195 additions and 1 deletions
+12 -1
View File
@@ -4,7 +4,7 @@ use goose::message::{Message, MessageContent};
use goose::providers::base::Provider;
use goose::providers::errors::ProviderError;
use goose::providers::{
anthropic, azure, bedrock, databricks, google, groq, ollama, openai, openrouter,
anthropic, azure, bedrock, databricks, google, groq, ollama, openai, openrouter, snowflake,
};
use mcp_core::content::Content;
use mcp_core::tool::Tool;
@@ -479,6 +479,17 @@ async fn test_google_provider() -> Result<()> {
.await
}
#[tokio::test]
async fn test_snowflake_provider() -> Result<()> {
test_provider(
"Snowflake",
&["SNOWFLAKE_HOST", "SNOWFLAKE_TOKEN"],
None,
snowflake::SnowflakeProvider::default,
)
.await
}
// Print the final test report
#[ctor::dtor]
fn print_test_report() {