Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

prettier

Marc Klingen2f09549e13a7
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
index 97fa0cbab8..c2be403e03 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -3,8 +3,8 @@
name: 🛠 Feature Request
description: Create a feature request for the core packages
-title: 'feat: '
-labels: ['✨ enhancement']
+title: "feat: "
+labels: ["✨ enhancement"]
body:
- type: markdown
attributes:
@@ -26,4 +26,3 @@ body:
attributes:
label: Additional information
description: Add any other information related to the feature here. If your feature request is related to any issues or discussions, link them here.
-
diff --git a/package.json b/package.json
index ed03c94895..4120a74e65 100644
--- a/package.json
+++ b/package.json
@@ -7,6 +7,7 @@
"dev": "next dev",
"postinstall": "prisma generate",
"lint": "next lint",
+ "prettier": "prettier --write ./src",
"clean": "rm -rf node_modules",
"start": "next start",
"migrate:prod": "dotenv -e .env.local -- npx prisma migrate deploy"
diff --git a/src/env.mjs b/src/env.mjs
index e8dd130ba8..b497dffacc 100644
--- a/src/env.mjs
+++ b/src/env.mjs
@@ -16,9 +16,12 @@ export const env = createEnv({
NEXTAUTH_URL: z.preprocess(
// This makes Vercel deployments not fail if you don't set NEXTAUTH_URL
// Since NextAuth.js automatically uses the VERCEL_URL if present.
- (str) => (process.env.VERCEL_URL && process.env.VERCEL_URL !== "") ? process.env.VERCEL_URL : str,
+ (str) =>
+ process.env.VERCEL_URL && process.env.VERCEL_URL !== ""
+ ? process.env.VERCEL_URL
+ : str,
// VERCEL_URL doesn't include `https` so it cant be validated as a URL
- process.env.VERCEL ? z.string().min(1) : z.string().url(),
+ process.env.VERCEL ? z.string().min(1) : z.string().url()
),
// Add `.min(1) on ID and SECRET if you want to make sure they're not empty
},