PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration.
This commit extends the existing platform selection script to include support for Ollama local models. The new branch in the conditional logic handles the 'ollama' argument to configure the environment for accessing models served locally. Key changes include:
Addition of an elif clause for 'ollama' to set up the model name, API base URL, and API key.
Setup for using an SSH public key for secure connections, formatted in 'ssh-ed25519'.
Default model naming fallback similar to existing platform configurations.
Confirmation message to indicate successful initialization of the Ollama configuration.
This update enables the script to interact with locally hosted Ollama models, enhancing its versatility and utility in development environments that utilize different model serving platforms.
Add support for Ollama local model configuration
This commit extends the existing platform selection script to include support for Ollama local models. The new branch in the conditional logic handles the 'ollama' argument to configure the environment for accessing models served locally. Key changes include:
elif
clause for 'ollama' to set up the model name, API base URL, and API key.This update enables the script to interact with locally hosted Ollama models, enhancing its versatility and utility in development environments that utilize different model serving platforms.