Skip to content

Conversation

bhouston
Copy link
Member

@bhouston bhouston commented Mar 4, 2025

Closes #85

This PR adds support for Ollama models via the Vercel AI SDK.

@bhouston
Copy link
Member Author

bhouston commented Mar 4, 2025

I've updated the PR based on feedback to remove the hardcoded model list and validation. This allows users to use any model supported by the providers without being restricted to a predefined list. The changes include:

  1. Removed the AVAILABLE_MODELS object and related validation code
  2. Updated the documentation to be more generic about model selection
  3. All tests are passing with these changes

The implementation now simply passes the model name directly to the provider without validating it against a predefined list, which makes it more flexible as new models are released.

@bhouston
Copy link
Member Author

bhouston commented Mar 4, 2025

This works, but the Ollama models to not appear to be able to call tools very well.

@bhouston bhouston merged commit a70dacb into main Mar 4, 2025
1 check passed
@bhouston
Copy link
Member Author

bhouston commented Mar 5, 2025

fixed #54

Copy link

🎉 This PR is included in version mycoder-agent-v1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version mycoder-v1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bhouston bhouston deleted the feature/85-add-ollama-support branch March 12, 2025 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Ollama support via the Vercel AI SDK.
1 participant