-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for
ollama_api_key
in settings and model factory
* **Settings**: Add `ollama_api_key` and `ollama_api_base` attributes to `Settings` class in `platform/reworkd_platform/settings.py`. * **Model Factory**: Add `ollama_api_key` attribute to `ModelSettings` class and include it in kwargs if present in `platform/reworkd_platform/web/api/agent/model_factory.py`. * **New Service**: Add `OllamaAgentService` class in `platform/reworkd_platform/web/api/agent/agent_service/ollama_agent_service.py` to handle interactions with the Ollama API. * **Environment Schema**: Update `next/src/env/schema.mjs` to include `OLLAMA_API_KEY`. * **Documentation**: Update various README files to reflect recent changes and new features.
- Loading branch information
1 parent
309d662
commit fe0e560
Showing
9 changed files
with
457 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.