Skip to content

Commit 3ddbad8

Browse files
committed
fix: updated register models function
Signed-off-by: Brian <[email protected]>
1 parent e552a42 commit 3ddbad8

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"default": "ghcr.io/containers/podman-ai-lab-stack:8d6a4a9a7c587c0a8e44703dd750355256e7a796"
2+
"default": "ghcr.io/containers/podman-ai-lab-stack:9b221b101adf6d129af5a74c440b6375fc21618d"
33
}

packages/backend/src/managers/llama-stack/llamaStackManager.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ test('requestcreateLlamaStackContainerss registers all local models', async () =
308308
'models',
309309
'register',
310310
'Model 1',
311+
'--provider-id',
312+
'podman-ai-lab',
311313
]);
312314
expect(podmanConnection.execute).toHaveBeenCalledWith(expect.anything(), [
313315
'exec',
@@ -316,6 +318,8 @@ test('requestcreateLlamaStackContainerss registers all local models', async () =
316318
'models',
317319
'register',
318320
'Model 2',
321+
'--provider-id',
322+
'podman-ai-lab',
319323
]);
320324
});
321325

packages/backend/src/managers/llama-stack/llamaStackManager.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,8 @@ export class LlamaStackManager implements Disposable {
501501
'models',
502502
'register',
503503
model.name,
504+
'--provider-id',
505+
'podman-ai-lab',
504506
]);
505507
},
506508
);

0 commit comments

Comments
 (0)