Changes to POST /api/ai/chat

post/api/ai/chat