(modelName: string)
| 641 | // =========================================================================== |
| 642 | |
| 643 | public getModelParams(modelName: string): Partial<InferenceParams> { |
| 644 | try { |
| 645 | const stored = localStorage.getItem(`${MODEL_PARAMS_PREFIX}${modelName}`); |
| 646 | if (stored) return JSON.parse(stored); |
| 647 | } catch {} |
| 648 | return {}; |
| 649 | } |
| 650 | |
| 651 | public setModelParams(modelName: string, params: Partial<InferenceParams>): void { |
| 652 | const cleaned: Partial<InferenceParams> = {}; |
no outgoing calls
no test coverage detected