Cactusli (@lixuanfengs) 在 我的 GitHub Models 也通过了 中发帖
[image]
申请链接:Sign in to GitHub · GitHub
获取token 地址:Sign in to GitHub · GitHub
[image]
curl -X POST "https://models.inference.ai.azure.com/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer github_pat_xxxx" \
-d '{
"messages": [
{
"role": "system",
"content": "我是个 Java 架构师,你能给我提供什么帮助?"
...