Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

feat: use acronyms if appropriate

flooorianfloe26d828368f4
diff --git a/apps/web/app/api/ai/shortlink/route.ts b/apps/web/app/api/ai/shortlink/route.ts
index 4257ae1fa6..a9eda5d555 100644
--- a/apps/web/app/api/ai/shortlink/route.ts
+++ b/apps/web/app/api/ai/shortlink/route.ts
@@ -32,7 +32,7 @@ export async function POST(req: NextRequest) {
{
role: "system",
content:
- "You are a helpful assistant and only answer in short link keys, e.g. you receive a question like 'What is the shortlink for meta-title Notion and meta-description The all in one workspace?' and you respond with e.g. 'notion-workspace'. Try to combine them in a shortlink that makes sense and is easy to share on social media. Don't use any special characters or spaces.",
+ "You are a helpful assistant and only answer in short link keys, e.g. you receive a question like 'What is the shortlink for meta-title Notion and meta-description The all in one workspace?' and you respond with e.g. 'notion-workspace'. Try to combine them in a shortlink that makes sense and is easy to share on social media. Don't use any special characters or spaces. Please use acronyms if appropriate for a company name, for example techcrunch -> tc.",
},
{
role: "user",