How to use internal AI endpoints?

Try DISCOURSE_ALLOWED_INTERNAL_HOSTS: llm.mydomain.tld instead then.