本地拉完最新代码后./start运行成功后, 示例报错Invalid model specified:
curl -X POST http://localhost:8002/v1/chat/completions \
-H "Content-Type: application/json"
-H "Authorization: Bearer 0000"
-d '{
"model": "gemini-3-flash",
"messages": [
{"role": "user", "content": "你好"}
],
"stream": false
}'
{"error":{"message":"Invalid model specified","type":"invalid_request_error","code":"model_not_found"}}%
本地拉完最新代码后./start运行成功后, 示例报错Invalid model specified:
curl -X POST http://localhost:8002/v1/chat/completions \
-H "Content-Type: application/json"
-H "Authorization: Bearer 0000"
-d '{
"model": "gemini-3-flash",
"messages": [
{"role": "user", "content": "你好"}
],
"stream": false
}'
{"error":{"message":"Invalid model specified","type":"invalid_request_error","code":"model_not_found"}}%