bootstrapguru / dexor

AI Engineer that actually codes
http://docs.dexor.dev/
GNU General Public License v3.0
41 stars 6 forks source link

Feature: Dynamic AI Service Selection for ChatAssistant #10

Closed vijaythecoder closed 3 months ago

vijaythecoder commented 3 months ago

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

  1. Update Configuration:

    • Ensure has the key set to either , , or .

    Example:

  2. Run the Service:

    • Execute the command that initializes or interacts with the .

    Example:

  3. Verify the Output:

    • Check if the correctly initializes with the base URL corresponding to the selected AI service.
  4. Logs:

    • Check application logs or debug the script to confirm the correct base URL is being used.

Next Steps


🍻 Cheers to new integrations and enhanced flexibility!