Skip to content

Commit fd6ae24

Browse files
code cleanup removal of unecessary code
1 parent 62ea6a0 commit fd6ae24

File tree

241 files changed

+3236
-53237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+3236
-53237
lines changed

.env.example

Lines changed: 0 additions & 42 deletions
This file was deleted.

.env.template

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Get your API key here - https://e2b.dev/
2+
E2B_API_KEY=
3+
4+
# OpenAI API Key
5+
OPENAI_API_KEY=
6+
7+
# Other providers
8+
ANTHROPIC_API_KEY=
9+
GROQ_API_KEY=
10+
FIREWORKS_API_KEY=
11+
TOGETHER_API_KEY=
12+
GOOGLE_AI_API_KEY=
13+
GOOGLE_VERTEX_CREDENTIALS=
14+
MISTRAL_API_KEY=
15+
XAI_API_KEY=
16+
17+
### Optional env vars
18+
19+
# Domain of the site
20+
NEXT_PUBLIC_SITE_URL=
21+
22+
# Rate limit
23+
RATE_LIMIT_MAX_REQUESTS=
24+
RATE_LIMIT_WINDOW=
25+
26+
# Vercel/Upstash KV (short URLs, rate limiting)
27+
KV_REST_API_URL=
28+
KV_REST_API_TOKEN=
29+
30+
# Supabase (auth)
31+
SUPABASE_URL=
32+
SUPABASE_ANON_KEY=
33+
34+
# PostHog (analytics)
35+
NEXT_PUBLIC_POSTHOG_KEY=
36+
NEXT_PUBLIC_POSTHOG_HOST=
37+
38+
### Disabling functionality (when uncommented)
39+
40+
# Disable API key and base URL input in the chat
41+
# NEXT_PUBLIC_NO_API_KEY_INPUT=
42+
# NEXT_PUBLIC_NO_BASE_URL_INPUT=
43+
44+
# Hide local models from the list of available models
45+
# NEXT_PUBLIC_HIDE_LOCAL_MODELS=

.gitignore

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,37 @@
22

33
# dependencies
44
/node_modules
5+
/.pnp
6+
.pnp.js
7+
.yarn/install-state.gz
8+
9+
# testing
10+
/coverage
511

612
# next.js
713
/.next/
814
/out/
915

16+
.env
17+
1018
# production
1119
/build
1220

13-
# update files
14-
.clinerules
15-
.memory-bank
16-
.learnings
21+
# misc
22+
.DS_Store
23+
*.pem
1724

1825
# debug
1926
npm-debug.log*
2027
yarn-debug.log*
2128
yarn-error.log*
22-
.pnpm-debug.log*
2329

24-
# env files
25-
.env.local
26-
.env
30+
# local env files
31+
.env*.local
2732

2833
# vercel
2934
.vercel
3035

3136
# typescript
3237
*.tsbuildinfo
3338
next-env.d.ts
34-
.vercel
35-
36-
.firebase
37-
.vercel

LICENSE

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Apache License
1+
Apache License
22
Version 2.0, January 2004
33
http://www.apache.org/licenses/
44

@@ -186,6 +186,8 @@ Apache License
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189+
Copyright 2023 FoundryLabs, Inc.
190+
189191
Licensed under the Apache License, Version 2.0 (the "License");
190192
you may not use this file except in compliance with the License.
191193
You may obtain a copy of the License at

app/actions/profile.ts

Lines changed: 0 additions & 160 deletions
This file was deleted.

0 commit comments

Comments
 (0)