diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a594bc8..37ebae5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -56,6 +56,16 @@ body: - OS: [e.g. macOS, Windows, Linux] - Browser: [e.g. Chrome, Safari, Firefox] - Version: [e.g. 91.1] + - type: input + id: provider + attributes: + label: Provider Used + description: Tell us the provider you are using. + - type: input + id: model + attributes: + label: Model Used + description: Tell us the model you are using. - type: textarea id: additional attributes: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 16a5b72..c9eb890 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -16,10 +16,10 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: "This issue has been marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days." stale-pr-message: "This pull request has been marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days." - days-before-stale: 14 # Number of days before marking an issue or PR as stale - days-before-close: 7 # Number of days after being marked stale before closing + days-before-stale: 10 # Number of days before marking an issue or PR as stale + days-before-close: 4 # Number of days after being marked stale before closing stale-issue-label: "stale" # Label to apply to stale issues stale-pr-label: "stale" # Label to apply to stale pull requests exempt-issue-labels: "pinned,important" # Issues with these labels won't be marked stale exempt-pr-labels: "pinned,important" # PRs with these labels won't be marked stale - operations-per-run: 90 # Limits the number of actions per run to avoid API rate limits + operations-per-run: 75 # Limits the number of actions per run to avoid API rate limits diff --git a/.husky/pre-commit b/.husky/pre-commit index 6c41c49..1aab67d 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -17,7 +17,7 @@ fi echo "Running lint..." if ! pnpm lint; then - echo "❌ Linting failed! 'pnpm lint:check' will help you fix the easy ones." + echo "❌ Linting failed! 'pnpm lint:fix' will help you fix the easy ones." echo "Once you're done, don't forget to add your beautification to the commit! 🤩" echo "lint exit code: $?" exit 1 diff --git a/README.md b/README.md index 9acf882..600acc1 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,13 @@ This fork of Bolt.new (oTToDev) allows you to choose the LLM that you use for each prompt! Currently, you can use OpenAI, Anthropic, Ollama, OpenRouter, Gemini, LMStudio, Mistral, xAI, HuggingFace, DeepSeek, or Groq models - and it is easily extended to use any other model supported by the Vercel AI SDK! See the instructions below for running this locally and extending it to include more models. +Check the [oTToDev Docs](https://coleam00.github.io/bolt.new-any-llm/) for more information. + ## Join the community for oTToDev! https://thinktank.ottomator.ai + ## Requested Additions - Feel Free to Contribute! - ✅ OpenRouter Integration (@coleam00) @@ -31,6 +34,7 @@ https://thinktank.ottomator.ai - ✅ Ability to revert code to earlier version (@wonderwhy-er) - ✅ Cohere Integration (@hasanraiyan) - ✅ Dynamic model max token length (@hasanraiyan) +- ✅ Better prompt enhancing (@SujalXplores) - ✅ Prompt caching (@SujalXplores) - ✅ Load local projects into the app (@wonderwhy-er) - ✅ Together Integration (@mouimet-infinisoft) diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index f1fd75e..b69460f 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -255,6 +255,7 @@ export const BaseChat = React.forwardRef( Model Settings +
- - {() => } - - {chat.started && ( - - {() => ( -
- -
- )} -
+ {chat.started && ( // Display ChatDescription and HeaderActionButtons only when the chat has started. + <> + + {() => } + + + {() => ( +
+ +
+ )} +
+ )} ); diff --git a/app/components/header/HeaderActionButtons.client.tsx b/app/components/header/HeaderActionButtons.client.tsx index dad9a1a..ac9382d 100644 --- a/app/components/header/HeaderActionButtons.client.tsx +++ b/app/components/header/HeaderActionButtons.client.tsx @@ -19,7 +19,7 @@ export function HeaderActionButtons({}: HeaderActionButtonsProps) {
- - + + )} ); } + +const ChatActionButton = ({ + toolTipContent, + icon, + className, + onClick, +}: { + toolTipContent: string; + icon: string; + className?: string; + onClick: (event: React.MouseEvent) => void; + btnTitle?: string; +}) => { + return ( + +