fix(core): Support custom OpenAI-compatible model endpoints in AI Assistant (#33836)