This PR updates the to dynamically switch the base URL based on the AI service selected. The AI services include OpenAI, Claude, and Ollama. The selection is determined by a configuration value (). This enhancement allows for flexible integration with multiple AI service providers.
Changes
Update to select the base URL from a list of available AI services.
Update the class constructor to use the configured AI service base URL.
How to Test
Update Configuration:
Ensure has the key set to either , , or .
Example:
Run the Service:
Execute the command that initializes or interacts with the .
Example:
Verify the Output:
Check if the correctly initializes with the base URL corresponding to the selected AI service.
Logs:
Check application logs or debug the script to confirm the correct base URL is being used.
Next Steps
Add onboarding step to choose AI service during setup.
Integrate Saloon package to abstract API interactions for these services.
🍻 Cheers to new integrations and enhanced flexibility!
Description
This PR updates the to dynamically switch the base URL based on the AI service selected. The AI services include OpenAI, Claude, and Ollama. The selection is determined by a configuration value (). This enhancement allows for flexible integration with multiple AI service providers.
Changes
How to Test
Update Configuration:
Example:
Run the Service:
Example:
Verify the Output:
Logs:
Next Steps
🍻 Cheers to new integrations and enhanced flexibility!