Skip to content

Commit

Permalink
Summer Cleaning (#143)
Browse files Browse the repository at this point in the history
* restructure modules

* Working honchofied discord bot

* SSR Auth (#142)

* Initial SSR Auth Migration

* Middleware matcher

* Loading Icons and API .env template

* Google and Discord Sign in

* Improved list and code rendering

* .env.template for discord and clean up root setup
  • Loading branch information
VVoruganti authored Sep 2, 2024
1 parent a955768 commit bc86d24
Show file tree
Hide file tree
Showing 63 changed files with 5,513 additions and 7,621 deletions.
20 changes: 0 additions & 20 deletions .env.template

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@ www/next-env.d.ts
.vercel

.yarn/

dist/
Empty file removed agent/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
105 changes: 0 additions & 105 deletions agent/cache.py

This file was deleted.

586 changes: 586 additions & 0 deletions agent/poetry.lock

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions agent/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[tool.poetry]
name = "agent"
version = "0.5.2"
description = "The LLM Engine behind Tutor-GPT"
authors = ["Vineeth Voruganti <[email protected]>"]
# readme = "README.md"
packages = [
{ include = "agent"},
]

[tool.poetry.dependencies]
python = "^3.11"
honcho-ai = "^0.0.14"
mirascope = "^0.18.0"
openai = "^1.3.8"
validators = "^0.20.0"
python-dotenv = "^1.0.1"
sentry-sdk = "^2.13.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
14 changes: 14 additions & 0 deletions api/.env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Azure Mirascope Keys
AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_API_VERSION=
AZURE_OPENAI_DEPLOYMENT=

# Supabase Settings
SUPABASE_URL=
SUPABASE_KEY=

# NextJS & fastAPI
URL=http://localhost:3000
HONCHO_URL=https://demo.honcho.dev
HONCHO_APP_NAME=
2 changes: 1 addition & 1 deletion api/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

LOCK = asyncio.Lock()
honcho = Honcho(base_url=getenv("HONCHO_URL"))
app = honcho.apps.get_or_create("Tutor-GPT")
app = honcho.apps.get_or_create(getenv("HONCHO_APP_NAME"))
Loading

0 comments on commit bc86d24

Please sign in to comment.