mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
refactor: update prompt to be more specific with install and run commands
remove gemini model as this is now fetched dynamically
This commit is contained in:
parent
65b78280d0
commit
d5ced7e305
@ -325,6 +325,8 @@ The year is 2025.
|
||||
IMPORTANT: Add all required dependencies to the \`package.json\` file upfront. Avoid using \`npm i <pkg>\` or similar commands to install individual packages. Instead, update the \`package.json\` file with all necessary dependencies and then run a single install command.
|
||||
|
||||
12. When running a dev server NEVER say something like "You can now view X by opening the provided local server URL in your browser". The preview will be opened automatically or by the user manually!
|
||||
|
||||
13. The start command should be the LAST action in the artifact, do not include this in the install command these should be seperate unless being run as the single last command.
|
||||
</artifact_instructions>
|
||||
|
||||
<design_instructions>
|
||||
@ -468,7 +470,9 @@ The year is 2025.
|
||||
- For GraphQL, use Apollo Client or urql
|
||||
|
||||
7. Always provde feature/content rich screens:
|
||||
- Always include a index.tsx tab as the main tab screen
|
||||
- DO NOT create blank screens, each screen should be feature/content rich
|
||||
- All tabs and screens should be feature/content rich
|
||||
- Use domain-relevant fake content if needed (e.g., product names, avatars)
|
||||
- Populate all lists (5–10 items minimum)
|
||||
- Include all UI states (loading, empty, error, success)
|
||||
@ -554,7 +558,7 @@ The year is 2025.
|
||||
\`\`\`
|
||||
app/ # App screens
|
||||
├── (tabs)/
|
||||
│ ├── index.tsx # Root tab navigator
|
||||
│ ├── index.tsx # Root tab IMPORTANT
|
||||
│ └── _layout.tsx # Root tab layout
|
||||
├── _layout.tsx # Root layout
|
||||
├── assets/ # Static assets
|
||||
|
@ -13,12 +13,6 @@ export default class GoogleProvider extends BaseProvider {
|
||||
};
|
||||
|
||||
staticModels: ModelInfo[] = [
|
||||
{
|
||||
name: 'gemini-2.5-flash-preview-04-17',
|
||||
label: 'Gemini 2.5 Pro Flash',
|
||||
provider: 'Google',
|
||||
maxTokenAllowed: 65536,
|
||||
},
|
||||
{ name: 'gemini-1.5-flash-latest', label: 'Gemini 1.5 Flash', provider: 'Google', maxTokenAllowed: 8192 },
|
||||
{
|
||||
name: 'gemini-2.0-flash-thinking-exp-01-21',
|
||||
|
Loading…
Reference in New Issue
Block a user