Skip to content

perf: to lina chat ai - #1607

Merged
feng626 merged 1 commit into
devfrom
pr@dev@lina
Aug 28, 2026
Merged

feng626 merged 1 commit into
devfrom
pr@dev@lina

Conversation

@fit2bot

@fit2bot fit2bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

perf: to lina chat ai

@fit2bot
fit2bot requested a review from a team August 28, 2026 08:58
@feng626
feng626 merged commit 144cabc into dev Aug 28, 2026
8 of 9 checks passed
@feng626
feng626 deleted the pr@dev@lina branch August 28, 2026 08:59
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Comment thread electron/auth.mjs
if (orgId) headers["X-JMS-ORG"] = orgId;
const hasBody = request.body !== undefined && request.body !== null;
if (hasBody) headers["Content-Type"] = "application/json";
const response = await net.fetch(url.toString(), {
signal: AbortSignal | undefined,
onEvent: (event: PlatformAiStreamEvent) => void
) {
const streamId = globalThis.crypto?.randomUUID?.() || `chat-ai-${Date.now()}-${Math.random().toString(16).slice(2)}`;
let remotePollTimer: ReturnType<typeof setTimeout> | null = null;

function temporaryId(prefix: string) {
return `${prefix}-${Date.now()}-${Math.random().toString(16).slice(2)}`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants