Closed champ2050 closed 2 days ago
🎉 I can confirm that the Enhance Feature is working again, and the Respect Provider Choice option from the UI is also functioning perfectly now. Thank you, team, for all your hard work! 👏 Keep it up! 🚀
Fantastic, thank you @champ2050!
@champ2050 I pulled a few hours ago, and enhance prompt seems to have an issue
provider in enhancerAction() has provider: { name: 'OpenAILike', staticModels: [] },
The below hack works, I am sure it is better to be fixed by someone who knows what to do
async function enhancerAction({ context, request }: ActionFunctionArgs) { const { message, model, provider: originalProvider, apiKeys } = await request.json<{ message: string; model: string; provider: { name: string }; apiKeys?: Record<string, string>; }>();
// Extract provider.name and reassign to provider const provider = originalProvider.name;
@nandan121 true, I can see the error too now. @coleam00 seems after this latest update the "Prompt enhancer" shows this error msg: Invalid or missing provider hence reopening this.
@champ2050 , I tested fix by ali00209 (new_bolt6 branch). Enhance prompt works as expected
Alright, sweet! I think the guys should be adding the fixes here soon as well.
Enhance prompt working now tested, hence closing this.
Thanks guys!
Describe the bug
Description:
After updating the repository, two issues have surfaced:
Enhance Feature Not Working
When I type a prompt (e.g., to create a basic "Hello World" HTML page) and click "enhance," the prompt disappears, preventing further progress. This has occurred consistently across multiple attempts.
Model Provider Changes on Project Reload
When reopening older projects, I’ve noticed that the model provider setting does not persist. Instead, it defaults to a different model rather than the one I initially selected, which affects continuity and usability. Ideally, the model provider should remain as originally chosen for each project.
Actual Behavior:
Link to the Bolt URL that caused the error
http://localhost:5173/
Steps to reproduce
To observe the model provider issue:
Expected behavior
Screen Recording / Screenshot
No response
Platform
Environment Details:
Additional context
Additional Information: