Skip to content

feat: add Snowflake provider #2488

Merged
michaelneale merged 19 commits intoblock:mainfrom
sfc-gh-twhite:snowflake-provider
Jun 2, 2025
Merged

feat: add Snowflake provider #2488
michaelneale merged 19 commits intoblock:mainfrom
sfc-gh-twhite:snowflake-provider

Conversation

@sfc-gh-twhite
Copy link
Contributor

@sfc-gh-twhite sfc-gh-twhite commented May 8, 2025

Overview

I am looking to add Snowflake as a provider for Goose. This pull request is intended to
get feedback early in the process, and I am open to closing and reopening this PR when
it's closer to completion. (if preferred)

I borrowed a lot of the code from the Anthropic provider, which made the
implementation easier, but it isn't 1:1. I've been using claude-3-5-sonnet for CoT.

Current Status

Most of the functionality works for the first message, but there is an issue in
preparing the response to the message with the tool calls. I'm manually adding the
"tool_use" field in the post function, and I will adjust this to ensure the response is more
accurate and dynamic.

This is all working now, I ended up manually parsing out and mapping the tool calls. It might
be possible to use eventsource-client but I was unable get it working properly.

What's Next

  • Adjust the preparation of the response to include "tool_use" based on the dynamically
    interaction with the tool.
  • Perform thorough testing to ensure all edge cases are handled. (I need to get the
    tests working)
  • Validate the integration with Snowflake and ensure seamless operation within the
    Goose framework.

@michaelneale michaelneale self-requested a review May 29, 2025 01:05
@michaelneale michaelneale self-assigned this May 29, 2025
@sfc-gh-twhite sfc-gh-twhite marked this pull request as ready for review May 29, 2025 13:25
Copy link
Collaborator

@michaelneale michaelneale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - once build passes happy to get this in. I have updated the branch

@michaelneale michaelneale merged commit 8c9a89e into block:main Jun 2, 2025
6 checks passed
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
Co-authored-by: Michael Neale <michael.neale@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments