🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
codespell: workflow to prevent typos, fix some (#82)
Yaroslav Halchenko32c4557981a3
diff --git a/.codespellrc b/.codespellrcnew file mode 100644index 0000000000..9572175333--- /dev/null+++ b/.codespellrc@@ -0,0 +1,4 @@+[codespell]+skip = .git,*.pdf,*.svg,package-lock.json,*.prisma+#+# ignore-words-list =diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.ymlnew file mode 100644index 0000000000..3ebbf5504b--- /dev/null+++ b/.github/workflows/codespell.yml@@ -0,0 +1,22 @@+---+name: Codespell++on:+ push:+ branches: [main]+ pull_request:+ branches: [main]++permissions:+ contents: read++jobs:+ codespell:+ name: Check for spelling errors+ runs-on: ubuntu-latest++ steps:+ - name: Checkout+ uses: actions/checkout@v3+ - name: Codespell+ uses: codespell-project/actions-codespell@v2diff --git a/prisma/seed.ts b/prisma/seed.tsindex 4e12b79b49..0b870f13d0 100755--- a/prisma/seed.ts+++ b/prisma/seed.ts@@ -251,7 +251,7 @@ async function main() {],},output: {- complation: `Creating a React component can be done in two ways: as a functional component or as a class component. Let's start with a basic example of both.+ completion: `Creating a React component can be done in two ways: as a functional component or as a class component. Let's start with a basic example of both.1. **Functional Component**:diff --git a/src/env.mjs b/src/env.mjsindex b1df917d1f..376216bd06 100644--- a/src/env.mjs+++ b/src/env.mjs@@ -21,7 +21,7 @@ export const env = createEnv({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+ // VERCEL_URL doesn't include `https` so it can't be validated as a URLprocess.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