Croway opened a new pull request, #21147:
URL: https://github.com/apache/camel/pull/21147

   ### OpenAI or OpenAI-compatible endpoints
   To run tests against OpenAI or any OpenAI-compatible endpoint (including 
local Ollama via its OpenAI-compatible API):
   
   ```bash
   # Using real OpenAI
   mvn verify -Dollama.instance.type=openai \
       -Dopenai.api.key=sk-your-api-key \
       -Dopenai.model=gpt-4o-mini
   
   # Using local Ollama as OpenAI-compatible endpoint
   mvn verify -Dollama.instance.type=openai \
       -Dopenai.endpoint=http://localhost:11434/v1/ \
       -Dopenai.model=granite4:3b \
       -Dopenai.api.key=dummy
   ```
   
   ### Remote Ollama
   ```bash
   mvn verify -Dollama.instance.type=remote \
       -Dollama.endpoint=http://localhost:11434/ \
       -Dollama.model=granite4:3b
   ```
   
   ### Local Ollama
   ```bash
   mvn verify
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to