Skip to content

Conversation

@davidmigloz
Copy link
Contributor

This PR adds support for Ollama.

Not sure if you accept 3rd party providers. If not, this PR can be used as a reference for people to integrate Ollama.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@domesticmouse domesticmouse requested a review from csells December 18, 2024 03:57
final stream = _generateStream(messages);

// don't write this code if you're targeting the web until this is fixed:
// https://github.com/dart-lang/sdk/issues/47764
Copy link
Contributor

Choose a reason for hiding this comment

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

@csells I'm guessing you want an open issue to replace this code once the fix for dart-lang/sdk#47764 is in stable?

@davidmigloz
Copy link
Contributor Author

Closing this one in favor of #30

@davidmigloz davidmigloz deleted the ollama branch December 20, 2024 23:27
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