Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev 297 #172

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions agent/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ dependencies = [
"honcho-ai>=0.0.17",
]

[tool.hatch.build.targets.wheel]
packages = ["agent"]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project.urls]
Homepage = "https://github.com/plastic-labs/tutor-gpt"

[tool.hatch.build]
include = [
"agent/**/*.py",
"agent/**/*.md"
]
2 changes: 1 addition & 1 deletion api/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ SUPABASE_URL=<Supabase Project URL>
SUPABASE_KEY=<Supabase Service Key

# Stripe
STRIPE_ENABLED=
STRIPE_ENABLED=
3 changes: 3 additions & 0 deletions api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ dependencies = [

[tool.uv.sources]
agent = {workspace=true}

[tool.uv.workspace]
members = ["../agent"]
1,278 changes: 1,278 additions & 0 deletions api/uv.lock

Large diffs are not rendered by default.

15 changes: 11 additions & 4 deletions www/.env.template
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
# Core
NEXT_PUBLIC_SITE_URL=
NEXT_PUBLIC_API_URL=

# Supabase
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY
# Sentry
SUPABASE_SERVICE_ROLE_KEY=

# JINA AI READER
NEXT_PUBLIC_JINA_API=

# Sentry (optional)
NEXT_PUBLIC_SENTRY_DSN=
SENTRY_ENVIRONMENT=
SENTRY_RELEASE=
# Posthog

# Posthog (optional)
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=
# Stripe

# Stripe (optional)
NEXT_PUBLIC_STRIPE_ENABLED=false
STRIPE_SECRET_KEY=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
Expand Down
7 changes: 7 additions & 0 deletions www/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ Tutor-GPT webui. A `.env.template` file is provided to get started quickly.
- `NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY` — The stripe public key
- `STRIPE_WEBHOOK_SECRET` — The stripe webhook secret

The following is an optional environment variable that enables the 'chat with website' feature, allowing users to append a url the end of /r/ and load that sites content into a new Bloom chat window.
(e.g. http://localhost:3000/r/https://www.example.com)

**jina AI Reader**

- `NEXT_PUBLIC_JINA_API` - The API key for Jina Reader to enable loading website content into Bloom chat window (https://jina.ai/)

Below are several optional environment variables to enable error monitoring and
analytics.

Expand Down
Loading