diff --git a/apps/workers/openaiWorker.ts b/apps/workers/openaiWorker.ts index 4061c7d2..0e3193b6 100644 --- a/apps/workers/openaiWorker.ts +++ b/apps/workers/openaiWorker.ts @@ -215,15 +215,15 @@ async function replaceTagsPlaceholders( ): Promise { const api = await buildImpersonatingTRPCClient(userId); const tags = (await api.tags.list()).tags; - const tagsString = `[${tags.map((tag) => tag.name).join(",")}]`; + const tagsString = `[${tags.map((tag) => tag.name).join(", ")}]`; const aiTagsString = `[${tags .filter((tag) => tag.numBookmarksByAttachedType.human ?? 0 == 0) .map((tag) => tag.name) - .join(",")}]`; + .join(", ")}]`; const userTagsString = `[${tags .filter((tag) => tag.numBookmarksByAttachedType.human ?? 0 > 0) .map((tag) => tag.name) - .join(",")}]`; + .join(", ")}]`; return prompts.map((p) => p