Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #36 from nohzafk/feature/use_tab_title
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelYuhe authored Dec 10, 2023
2 parents 91b54ed + e288071 commit 671e79e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ export async function batchGroupTabs(
},
{
role: "user",
content: `Based on the URL ${
tab.url
}, classify the browser tab type as one of the following: ${types.join(
content: `Based on the URL: "${tab.url}" and title: "${
tab.title
}", classify the browser tab type as one of the following: ${types.join(
", "
)}. Respond with only the classification keyword from the list.`,
},
Expand Down Expand Up @@ -95,9 +95,9 @@ export async function handleOneTab(
},
{
role: "user",
content: `Based on the URL ${
tab.url
}, classify the browser tab type as one of the following: ${types.join(
content: `Based on the URL: "${tab.url}" and title: "${
tab.title
}", classify the browser tab type as one of the following: ${types.join(
", "
)}. Respond with only the classification keyword from the list.`,
},
Expand Down

0 comments on commit 671e79e

Please sign in to comment.