Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update toolSupport.ts fixes for granite models from HF #4502

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

sammyvoncheese
Copy link
Contributor

3 Ollama logic changes.

Description

  • Added logic to pull off the model name from a model which includes an extended path like "hf.co/DevQuasar/ibm-granite.granite-3.2-8b-instruct-preview-GGUF:F16"
  • added a "granite-3" check to support Hf format for the model name
  • changed the string compare to look for the model names in the whole string

Checklist

  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screenshots

[ For visual changes, include screenshots. ]

Testing instructions

[ For new or modified features, provide step-by-step testing instructions to validate the intended behavior of the change, including any relevant tests to run. ]

3 Ollama logic changes.

- Added logic to pull off the model name from a model which includes an extended path like "hf.co/DevQuasar/ibm-granite.granite-3.2-8b-instruct-preview-GGUF:F16"
- added a "granite-3" check to support Hf format for the model name
- changed the string compare to look for the model names in the whole string
Copy link

netlify bot commented Mar 6, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit f6d08a3
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/67c8e7b16c69b800086e3de7

@sammyvoncheese sammyvoncheese changed the title Update toolSupport.ts Update toolSupport.ts fixes for granite models from HF Mar 6, 2025
@sestinj sestinj merged commit 7e520e1 into continuedev:main Mar 8, 2025
32 checks passed
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