fix(kimchi): bump User-Agent to kimchi/0.1.40 (#2256)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -20,7 +20,7 @@ export default {
|
||||
baseUrl: "https://llm.kimchi.dev/openai/v1/chat/completions",
|
||||
format: "openai",
|
||||
headers: {
|
||||
"User-Agent": "kimchi/0.0.0",
|
||||
"User-Agent": "kimchi/0.1.40",
|
||||
},
|
||||
auth: {
|
||||
combined: true,
|
||||
|
||||
@@ -3,7 +3,7 @@ import { createHash } from "crypto";
|
||||
import { proxyAwareFetch } from "../utils/proxyFetch.js";
|
||||
|
||||
export const KIMCHI_API = "https://llm.kimchi.dev";
|
||||
export const KIMCHI_USER_AGENT = "kimchi/0.0.0";
|
||||
export const KIMCHI_USER_AGENT = "kimchi/0.1.40";
|
||||
|
||||
const FETCH_TIMEOUT_MS = 20_000;
|
||||
const CACHE_TTL_MS = 5 * 60 * 1000;
|
||||
|
||||
@@ -99,7 +99,7 @@ const OAUTH_TEST_CONFIG = {
|
||||
authPrefix: "Bearer ",
|
||||
extraHeaders: {
|
||||
Accept: "application/json",
|
||||
"User-Agent": "kimchi/0.0.0",
|
||||
"User-Agent": "kimchi/0.1.40",
|
||||
},
|
||||
refreshable: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user