-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Feat(ollama): Adding ollama for enabling local model agents #153
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@arunabhcode is attempting to deploy a commit to the Sim Studio Team on Vercel. A member of the Team first needs to authorize it. |
becd6a4 to
3f74076
Compare
3f74076 to
7abc1f0
Compare
|
Start of this PR, initially just added the orchestration part. Will test and start to add the logic after. |
8730e85 to
7bd4aa7
Compare
73283e0 to
ac0ee95
Compare
ac0ee95 to
3b14342
Compare
3b14342 to
afbc843
Compare
1bc12e1 to
fb5bd43
Compare
|
Deployment failed with the following error: |
9e6b603 to
06f48ce
Compare
| // Evaluate options if it's a function and deduplicate based on values | ||
| const evaluatedOptions = useMemo(() => { | ||
| const rawOptions = typeof options === 'function' ? options() : options | ||
| const seen = new Set<string>() | ||
| return rawOptions.filter(option => { | ||
| const value = typeof option === 'string' ? option : option.id | ||
| if (seen.has(value)) return false | ||
| seen.add(value) | ||
| return true | ||
| }) | ||
| }, [options]) | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arunabhcode i like that, getModelProviders and getInitializedModelProviders
|
@arunabhcode tests are failing, but I left a review so once this is resolved we can merge it in |
…ent docker compose files and add a shell script to toggle between the deployment docker compose files add base ollama.ts implementation add latest attempt to fetch Ollama models dynamically fix ollama dynamic model fetching, models now being rendered on GUI fix package and package-lock.json to remove ollama dependency and add types.ts for ollama switch MODEL_PROVIDERS to getModelProviders make dynamic ollama model dropdown change using zustland store make dynamic ollama model changes to router and evaluator ts too
…ag to start_simstudio_docker.sh with ollama service
aaae88d to
c8eb525
Compare
54f25eb to
2e6051f
Compare
…oai#153) * feat(ollama): add ollama package dependency, add two separate deployment docker compose files and add a shell script to toggle between the deployment docker compose files add base ollama.ts implementation add latest attempt to fetch Ollama models dynamically fix ollama dynamic model fetching, models now being rendered on GUI fix package and package-lock.json to remove ollama dependency and add types.ts for ollama switch MODEL_PROVIDERS to getModelProviders make dynamic ollama model dropdown change using zustland store make dynamic ollama model changes to router and evaluator ts too * feat(ollama): fix evaluated options by de-duplicating it * feat(ollama): make README.md change to reflect local model workflow * feat(ollama): add base non-ollama docker compose file, add --local flag to start_simstudio_docker.sh with ollama service * feat(ollama): fix README.md local model instructions * feat(ollama): remove de-duplication logic and separate getModelProviders into two * fix non-local init and translate.ts * create combined docker-compose file and fix start_simstudio_docker script too * update package-lock.json * feat(ollama): fix README.md instructions and docker compose --------- Co-authored-by: Arunabh Sharma <arunabh.sharma@supernal.aero>
Description
This PR will address Ollama integration into sim-studio for enabling local model use.
Type of change
Please delete options that are not relevant.
Will fill the rest of this out at before converting to reviewable PR.
How Has This Been Tested?
Checklist:
Security Considerations:
Additional Information:
Any additional information, configuration or data that might be necessary to reproduce the issue or use the feature.