Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek committed Sep 23, 2024
1 parent 8e92bd3 commit ea2fcf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion apisix/plugins/ai-rag/embeddings/azure_openai.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function _M.get_embeddings(conf, body, httpc)
})

if not res or not res.body then
return nil, res.status or INTERNAL_SERVER_ERROR, err
return nil, INTERNAL_SERVER_ERROR, err
end

if res.status ~= 200 then
Expand Down
1 change: 0 additions & 1 deletion docs/en/latest/plugins/ai-rag.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ curl "http://127.0.0.1:9180/apisix/admin/routes/1" -X PUT \
}
},
"ai-proxy": {
"route_type": "llm/chat",
"auth": {
"header": {
"api-key": "'"$azure_openai_key"'"
Expand Down

0 comments on commit ea2fcf6

Please sign in to comment.