mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
The Models page drops the generic schema renderer and the visible environment-variable field: each editor is a curated per-family card whose primary input is one write-only API key stored under a derived <ROUTE>_API_KEY reference (recorded as apiKeyEnv in the pi-ai profile), an unkeyed whole-section provider opens as its setup card, and the collapsed customized-settings fold carries baseURL/reasoningEffort (deepseek) or reasoning (pi-ai). dsh-client-schema-form reduces to the schema/draft model layer (no React).
13 lines
510 B
TypeScript
13 lines
510 B
TypeScript
/**
|
|
* Schema/draft model layer for settings editors: rehydrate the wire's
|
|
* serialized schemastery envelope, resolve nodes by settings path, validate
|
|
* drafts, and edit them immutably by path. Editors render their own controls
|
|
* (the Models page hand-writes its layout) on top of these helpers.
|
|
* @module @deepseek-ai/dsh-client-schema-form
|
|
*/
|
|
|
|
export {
|
|
deletePath, getPath, hasPath, nodeAtPath, rehydrateSchema, setPath, validateDraft,
|
|
} from './model.ts'
|
|
export type { SchemaNode } from './model.ts'
|