Skip to content

Commit 40d3dd9

Browse files
committed
Fix lint issues: format artifact.tsx, prefix unused param in prompts.ts
1 parent dcdd374 commit 40d3dd9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

components/artifact.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ import { useSidebar } from "./ui/sidebar";
2828
import { VersionFooter } from "./version-footer";
2929
import type { VisibilityType } from "./visibility-selector";
3030

31-
export const artifactDefinitions = [
32-
textArtifact,
33-
codeArtifact,
34-
sheetArtifact,
35-
];
31+
export const artifactDefinitions = [textArtifact, codeArtifact, sheetArtifact];
3632
export type ArtifactKind = (typeof artifactDefinitions)[number]["kind"];
3733

3834
export type UIArtifact = {

lib/ai/prompts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ About the origin of user's request:
2020
`;
2121

2222
export const systemPrompt = ({
23-
selectedChatModel,
23+
selectedChatModel: _selectedChatModel,
2424
requestHints,
2525
}: {
2626
selectedChatModel: string;

0 commit comments

Comments
 (0)