mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-10 20:35:17 +02:00
9 lines
253 B
TypeScript
9 lines
253 B
TypeScript
|
|
export function isLlmOnboardingComplete(
|
||
|
|
agentLlmId: number | null | undefined,
|
||
|
|
hasGlobalConfigs: boolean
|
||
|
|
): boolean {
|
||
|
|
if (agentLlmId === null || agentLlmId === undefined) return false;
|
||
|
|
if (agentLlmId === 0) return hasGlobalConfigs;
|
||
|
|
return true;
|
||
|
|
}
|