diff --git a/README.md b/README.md index 86e335e..cf9b53b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,8 @@ A Chrome extension helps you group your tabs with AI. > > [![Telegram](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white)](https://t.me/+99v98-XOQY0zZGNl) -Demo Video: +Demo Video: + > [![Watch the video](https://img.youtube.com/vi/SjfKiXy3zOc/default.jpg)](https://youtu.be/SjfKiXy3zOc) ## Roadmap @@ -32,10 +33,6 @@ Download the latest released `dist.zip` from [the release page](https://github.c Open Chrome, go to `chrome://extensions/`, turn on `Developer mode` on the top right corner, click `Load unpacked` on the top left corner, select the `dist` folder you just unzipped. -- Fill in the OpenAI API key, add some types and click on the "Save" button. -- Click on the "Group Tabs" button, your current tabs will be grouped. -- Your new tab will be grouped automatically. - > You can change the model and API server in the options page. ## Development diff --git a/src/options.tsx b/src/options.tsx index 5236735..5910850 100644 --- a/src/options.tsx +++ b/src/options.tsx @@ -4,9 +4,9 @@ import "./options.css"; import { getStorage, setStorage } from "./utils"; const Options = () => { - const [model, setModel] = useState("gpt-4"); + const [model, setModel] = useState("gpt-3.5-turbo"); const [apiURL, setApiURL] = useState( - "https://api.openai.com" + "https://api.openai.com/v1/chat/completions" ); useEffect(() => { @@ -48,7 +48,6 @@ const Options = () => { - diff --git a/src/services.ts b/src/services.ts index 1e48011..5b08b45 100644 --- a/src/services.ts +++ b/src/services.ts @@ -25,7 +25,7 @@ export async function batchGroupTabs( }; }); - const model = (await getStorage("model")) || "gpt-4"; + const model = (await getStorage("model")) || "gpt-3.5-turbo"; const apiURL = (await getStorage("apiURL")) || "https://api.openai.com/v1/chat/completions"; @@ -81,7 +81,7 @@ export async function handleOneTab( openAIKey: string ) { try { - const model = (await getStorage("model")) || "gpt-4"; + const model = (await getStorage("model")) || "gpt-3.5-turbo"; const apiURL = (await getStorage("apiURL")) || "https://api.openai.com/v1/chat/completions";