Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ test('delete conversation should delete the conversation', async () => {
expect(webviewMock.postMessage).toHaveBeenCalled();
});

test('creating a new playground with an existing name shoud fail', async () => {
test('creating a new playground with an existing name should fail', async () => {
vi.mocked(inferenceManagerMock.getServers).mockReturnValue([]);
const manager = new PlaygroundV2Manager(
webviewMock,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe('buildImages', () => {
'Context configured does not exist.',
);
});
test('setTaskState should be called with error if buildImage executon fails', async () => {
test('setTaskState should be called with error if buildImage execution fails', async () => {
vi.spyOn(fs, 'existsSync').mockReturnValue(true);
vi.mocked(containerEngine.buildImage).mockRejectedValue('error');
vi.mocked(containerEngine.listImages).mockRejectedValue([]);
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/src/studio-api-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,14 @@ export class StudioApiImpl implements StudioAPI {
}

async navigateToResources(): Promise<void> {
// navigateToResources is only vailable from desktop 1.10
// navigateToResources is only available from desktop 1.10
if (podmanDesktopApi.navigation.navigateToResources) {
return podmanDesktopApi.navigation.navigateToResources();
}
}

async navigateToEditConnectionProvider(connectionName: string): Promise<void> {
// navigateToEditProviderContainerConnection is only vailable from desktop 1.10
// navigateToEditProviderContainerConnection is only available from desktop 1.10
if (podmanDesktopApi.navigation.navigateToEditProviderContainerConnection) {
const connection = getPodmanConnection(connectionName);
return podmanDesktopApi.navigation.navigateToEditProviderContainerConnection(connection);
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/studio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export class Studio {
this.#inferenceManager.init();
this.#extensionContext.subscriptions.push(this.#inferenceManager);

/** The InstructLab tunning sessions manager */
/** The InstructLab tuning sessions manager */
this.#instructlabManager = new InstructlabManager();

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/utils/JsonWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class JsonWatcher<T> implements Disposable {
this.#fileSystemWatcher.onDidDelete(this.onDidDelete.bind(this));
this.#fileSystemWatcher.onDidCreate(this.onDidCreate.bind(this));
} catch (err: unknown) {
console.error(`unable to watch file ${this.path}, changes wont be detected.`, err);
console.error(`unable to watch file ${this.path}, changes won't be detected.`, err);
}
this.requestUpdate();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ test('display model port', async () => {
expect(ports).toBeInTheDocument();
});

test('display multpile model ports', async () => {
test('display multiple model ports', async () => {
const obj = {
modelId: 'model1',
modelPorts: [8080, 5000],
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Playground.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function handleOnClick(): void {
{#key conversation.messages.length}
<SystemPromptBanner conversation={conversation} />
{/key}
<!-- show all message except the sytem prompt -->
<!-- show all message except the system prompt -->
<ul>
{#each messages as message}
<li>
Expand Down
Loading