I tried researching the logic of a longer code snippet but ran into an issue where Kagi Assistant kept returning a 403 Forbidden error for the same code snippet. I was eventually able to reduce it down to the following specific code being the culprit:
;
if(0
For some reason, including this exact string as-is (including the newline) anywhere in a prompt, causes this Request failed: 403 error to be thrown by the API, regardless of which model is selected:
