MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / loadConfigSync

Function loadConfigSync

apps/webuiapps/src/lib/llmClient.ts:48–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48export function loadConfigSync(): LLMConfig | null {
49 try {
50 const raw = localStorage.getItem(CONFIG_KEY);
51 return raw ? JSON.parse(raw) : null;
52 } catch {
53 return null;
54 }
55}
56
57export interface ChatMessage {
58 role: 'system' | 'user' | 'assistant' | 'tool';

Callers 1

llmClient.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected