generate Completion
Sends a prompt to the specified model and returns the completion text.
This is the general-purpose method for all AI completions. Feature-specific methods should call this with appropriate prompts and model names.
Return
The completion text, or null if not configured or on error
Parameters
prompt
The user message to send
model
The model identifier to use (e.g., config.openaiModelLow)