Skip to content
Closed
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
18 changes: 18 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Use a Node image
FROM node:18

# Set working directory
WORKDIR /app

# Copy everything
COPY . .

# Install deps
RUN corepack enable && corepack prepare pnpm@latest --activate
RUN pnpm install

# Expose the port your app uses
EXPOSE 8080

# Default command
CMD ["pnpm", "run", "dev"]
16 changes: 8 additions & 8 deletions app/components/chat/BaseChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ interface BaseChatProps {
}

const EXAMPLE_PROMPTS = [
{ text: 'Build a todo app in React using Tailwind' },
{ text: 'Build a simple blog using Astro' },
{ text: 'Create a cookie consent form using Material UI' },
{ text: 'Make a space invaders game' },
{ text: 'How do I center a div?' },
{ text: 'Build a chatbot for your enterprise users' },
{ text: 'Build a AI Finance App' },
{ text: 'Build an app that writes grants' },
{ text: 'Build an app that summarizes insights for engineering execs' },
{ text: 'Build an SEO app that researches keywords every week' },
];

const TEXTAREA_MIN_HEIGHT = 76;
Expand Down Expand Up @@ -74,10 +74,10 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
{!chatStarted && (
<div id="intro" className="mt-[26vh] max-w-chat mx-auto">
<h1 className="text-5xl text-center font-bold text-bolt-elements-textPrimary mb-2">
Where ideas begin
Build an AI Application Agenticly
</h1>
<p className="mb-4 text-center text-bolt-elements-textSecondary">
Bring ideas to life in seconds or get help on existing projects.
Build full enterprise-grade AI applications, not just static websites, with your personal AI engineer.
</p>
</div>
)}
Expand Down Expand Up @@ -130,7 +130,7 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
minHeight: TEXTAREA_MIN_HEIGHT,
maxHeight: TEXTAREA_MAX_HEIGHT,
}}
placeholder="How can Bolt help you today?"
placeholder="What would you like to build?"
translate="no"
/>
<ClientOnly>
Expand Down
5 changes: 3 additions & 2 deletions app/components/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ export function Header() {
},
)}
>
<div className="flex items-center gap-2 z-logo text-bolt-elements-textPrimary cursor-pointer">
<div className="flex items-center gap-2 text-bolt-elements-textPrimary cursor-pointer">
<div className="i-ph:sidebar-simple-duotone text-xl" />
<a href="/" className="text-2xl font-semibold text-accent flex items-center">
<span className="i-bolt:logo-text?mask w-[46px] inline-block" />
{/* <span className="i-bolt:logo-text?mask w-[46px] inline-block" /> */}
Empromptu
</a>
</div>
<span className="flex-1 px-4 truncate text-center text-bolt-elements-textPrimary">
Expand Down
4 changes: 2 additions & 2 deletions app/lib/.server/llm/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// see https://docs.anthropic.com/en/docs/about-claude/models
export const MAX_TOKENS = 8192;
export const MAX_TOKENS = 3 * 8192;

// limits the number of model responses that can be returned in a single request
export const MAX_RESPONSE_SEGMENTS = 2;
export const MAX_RESPONSE_SEGMENTS = 8;
4 changes: 3 additions & 1 deletion app/lib/.server/llm/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ export function getAnthropicModel(apiKey: string) {
apiKey,
});

return anthropic('claude-3-5-sonnet-20240620');
return anthropic('claude-sonnet-4-20250514');
// return anthropic('claude-3-7-sonnet-20250219');
// return anthropic('claude-3-5-sonnet-20240620');
}
Loading
Loading