File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { CharmsController } from "@commontools/charm/ops";
88import { join } from "@std/path" ;
99import { isVNode , type VNode } from "@commontools/html" ;
1010import { FileSystemProgramResolver } from "@commontools/js-runtime" ;
11+ import { setLLMUrl } from "@commontools/llm" ;
1112
1213export interface EntryConfig {
1314 mainPath : string ;
@@ -42,6 +43,7 @@ async function makeSession(config: SpaceConfig): Promise<Session> {
4243}
4344
4445export async function loadManager ( config : SpaceConfig ) : Promise < CharmManager > {
46+ setLLMUrl ( config . apiUrl ) ;
4547 const session = await makeSession ( config ) ;
4648 // Use a const ref object so we can assign later while keeping const binding
4749 const charmManagerRef : { current ?: CharmManager } = { } ;
You can’t perform that action at this time.
0 commit comments