(modelName: string)
| 611 | // =========================================================================== |
| 612 | |
| 613 | public getModelParams(modelName: string): Partial<InferenceParams> { |
| 614 | try { |
| 615 | const stored = localStorage.getItem(`${MODEL_PARAMS_PREFIX}${modelName}`); |
| 616 | if (stored) return JSON.parse(stored); |
| 617 | } catch {} |
| 618 | return {}; |
| 619 | } |
| 620 | |
| 621 | public setModelParams(modelName: string, params: Partial<InferenceParams>): void { |
| 622 | const cleaned: Partial<InferenceParams> = {}; |
no outgoing calls
no test coverage detected