fix(lint): clear biome errors breaking CI on main

CI was red at the lint step: an unused providerID parameter in
createQoderOAuth, an unused getCachedCredentials import in stream.ts,
plus unsorted imports and stale formatting in stream.ts and pat.ts.

Co-authored-by: Simon Shi <simonsmh@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-08-31 15:57:20 +00:00
co-authored by Simon Shi
parent ab378b44e2
commit 70fba627e6
3 changed files with 9 additions and 6 deletions
+1 -3
View File
@@ -20,8 +20,8 @@ import {
getQoderUserEmailFallback,
isQoderCNMode,
} from "./cosy.js";
import { resolveQoderIdentity, getCachedCredentials } from "./oauth.js";
import { getCachedModelConfig, MAX_OUTPUT_TOKENS } from "./models.js";
import { resolveQoderIdentity } from "./oauth.js";
import { qoderEncodeBody } from "./qoder-encoding.js";
import { stripThinkingTags, ThinkingTagParser } from "./thinking-parser.js";
import { transformMessagesForQoder, transformTools } from "./transform.js";
@@ -74,7 +74,6 @@ function stableChatRecordID(
return hash.digest("hex").slice(0, 16);
}
function contentToText(content: unknown): string {
if (typeof content === "string") return content;
if (Array.isArray(content)) {
@@ -294,7 +293,6 @@ export function streamQoder(
const modelSource = modelConfig.source || "system";
const response = await fetch(chatURL, {
method: "POST",
headers: {