This commit is contained in:
zhangkun9038@dingtalk.com 2025-02-11 11:01:16 +08:00
parent 58375d45c3
commit 4d9201bbea

View File

@ -1,6 +1,7 @@
local M = {}
local log_file = vim.fn.stdpath("cache") .. "/avante_requests.log"
--
-- local log_file = vim.fn.stdpath("cache") .. "/avante_requests.log"
local log_file = "/tmp/avante/avante_requests.log"
function M.log_request(url, headers, body)
local timestamp = os.date("%Y-%m-%d %H:%M:%S")