diff options
author | Grail Finder <wohilas@gmail.com> | 2025-03-10 20:08:07 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-03-10 20:08:07 +0300 |
commit | 0497cdcfe6af5f50871413ed3feb0d5316a1ba00 (patch) | |
tree | 694aef95084cc30c7a9c96552ec98ad7647206c6 /bot.go | |
parent | 10f0efbb2a5b8da1371eee8dd74c07d62d92bfb9 (diff) |
Refactor: pngmeta rewrite
Diffstat (limited to 'bot.go')
-rw-r--r-- | bot.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -94,9 +94,11 @@ func fetchModelName() *models.LLMModels { return &llmModel } +// nolint func fetchDSBalance() *models.DSBalance { url := "https://api.deepseek.com/user/balance" method := "GET" + // nolint req, err := http.NewRequest(method, url, nil) if err != nil { logger.Warn("failed to create request", "error", err) @@ -119,6 +121,7 @@ func fetchDSBalance() *models.DSBalance { func sendMsgToLLM(body io.Reader) { choseChunkParser() + // nolint req, err := http.NewRequest("POST", cfg.CurrentAPI, body) req.Header.Add("Accept", "application/json") req.Header.Add("Content-Type", "application/json") |