#安装higress省略

1、添加模型服务商

image

 2、添加消费者令牌

image

 3、添加AI模型路由接口

image

 

image

4、请求验证

curl -sv http:// <higress-gateway-ip>/v1/chat/completions \
-X POST \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer xxxxxx" \
-H 'Host: token.sensenova.cn' \
-d \
'{
"model": "sensenova-6.7-flash-lite",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'

posted on 2026-06-10 15:31  MhaiM  阅读(18)  评论(0)    收藏  举报