Click the link below to login with your Huawei Cloud account and get your API key.
Preparing Huawei login...
If the login popup cannot reach this proxy, complete the login in the browser first, then paste the callback URL from the browser address bar here.
Once you have your API key, you can use the following endpoints:
POST /v1/chat/completions
GET /v1/models
export OPENAI_API_KEY="your-api-key"
export OPENAI_BASE_URL="http://localhost:1455"
openai chat.completions.create \
--model "codearts-model" \
--messages '[{"role": "user", "content": "Hello!"}]'