feat(ollama): Adding ollama for enabling local model agents (#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>
This commit is contained in:
Arunabh Sharma
2025-03-29 13:34:44 -07:00
committed by GitHub
parent 272a486bcc
commit fe2c7d8d98
20 changed files with 691 additions and 148 deletions

5
.gitignore vendored
View File

@@ -62,4 +62,7 @@ next-env.d.ts
# docs
docs/.source
docs/.contentlayer
docs/.content-collections
docs/.content-collections
# database instantiation
**/postgres_data/