refactor: hide llm adapter helpers

This commit is contained in:
Tianyi Cui
2026-07-14 04:03:44 +08:00
parent 5c82310f47
commit 91075e010a
11 changed files with 36 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { describe, expect, it } from 'vitest'
import { LlmError } from '@deepseek-ai/dsh-llm'
import { DONE, parseSse } from '@deepseek-ai/dsh-llm-deepseek'
import { DONE, parseSse } from '../src/sse.ts'
/** Build a byte stream from string fragments (fragments = network reads). */
async function* bytes(...fragments: (string | Uint8Array)[]): AsyncGenerator<Uint8Array> {