Alex Wang

Results 45 comments of Alex Wang

Hi @akierum, could you double check if you set the custom model chat completion endpoint with **full URL**, something like `http://192.168.1.130:1234/v1/chat/completions`.

I can successfully run AI Toolkit playground with LM Studio 0.3.13. My settings: Endpoint: `http://localhost:1234/v1/chat/completions` Model name: `qwen3-0.6b` Auth token: `unused` Could you first try with curl to verify LM...

> I tried the http://192.168.1.130:1234/v1/chat/completions. LMstudio gives this error 2025-09-16 22:23:43 [ERROR] Unexpected endpoint or method. (POST /). Returning 200 anyway In the meantime, I see your error message suggests...

Hi, @parijatn I have tried with AI Toolkit v0.16.1 and api key for custom models works as expected. Are you using models hosted on Azure AI Foundry / Azure OpenAI...

Hi @parijatn, thanks for the clarification. By default APIM requires [subscription key](https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#use-a-subscription-key) header, otherwise, it will return 401. So you need 2 headers `Ocp-Apim-Subscription-Key: ` and `Authorization: Bearer ` to...

@parijatn Thanks for the clarification. However, I cannot reproduce the issue. One possible cause might be AITK incorrectly treat the URL as OpenAI URL and use `Authorization` instead. If so,...

> Thank you for the workaround it works now! > > We were able to reproduce the same issue for a different developer's VSCode The entries when we enter api-key...

@ivintoiu Thanks for the report. You can send a PR if you have already done it. And we will fix it soon.

We don't have o3 hosted by OpenAI for now. Current workaround is to add custom models. 1. Click **+ Add Your Own Model** in model catelog 2. Select **Add custom...

Hi if you need to define custom authorization headers, you can edit the yaml to add a custom model like this in `$HOME/.aitk/models/my-models.yml`. ``` version: v0.1 providers: - name: Custom...