Skip to content

Commit 2289922

Browse files
globals lint
1 parent 40cf8d7 commit 2289922

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

apisix/plugins/ai-drivers/openai-compatible.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ local url = require("socket.url")
2626

2727
local pairs = pairs
2828
local type = type
29+
local setmetatable = setmetatable
2930

3031

3132
function _M.new(opts)

apisix/plugins/ai-proxy-multi.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ local core = require("apisix.core")
1919
local schema = require("apisix.plugins.ai-proxy.schema")
2020
local ai_proxy = require("apisix.plugins.ai-proxy")
2121
local plugin = require("apisix.plugin")
22+
2223
local require = require
2324
local pcall = pcall
25+
local ipairs = ipairs
26+
local unpack = unpack
27+
local type = type
28+
2429
local internal_server_error = ngx.HTTP_INTERNAL_SERVER_ERROR
2530
local priority_balancer = require("apisix.balancer.priority")
2631

0 commit comments

Comments
 (0)