mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-06 06:41:56 +00:00
unify model selection
This commit is contained in:
@@ -210,8 +210,8 @@ export class SyncEngine {
|
||||
this.machineCache.reloadAll()
|
||||
}
|
||||
|
||||
getOrCreateSession(tag: string, metadata: unknown, agentState: unknown, namespace: string): Session {
|
||||
return this.sessionCache.getOrCreateSession(tag, metadata, agentState, namespace)
|
||||
getOrCreateSession(tag: string, metadata: unknown, agentState: unknown, namespace: string, model?: string): Session {
|
||||
return this.sessionCache.getOrCreateSession(tag, metadata, agentState, namespace, model)
|
||||
}
|
||||
|
||||
getOrCreateMachine(id: string, metadata: unknown, runnerState: unknown, namespace: string): Machine {
|
||||
@@ -372,7 +372,7 @@ export class SyncEngine {
|
||||
targetMachine.id,
|
||||
metadata.path,
|
||||
flavor,
|
||||
undefined,
|
||||
session.model,
|
||||
undefined,
|
||||
undefined,
|
||||
undefined,
|
||||
|
||||
Reference in New Issue
Block a user