Skip to content

Commit

Permalink
feat(plus): add AI Help backend (#230)
Browse files Browse the repository at this point in the history
Co-authored-by: Claas Augner <[email protected]>
  • Loading branch information
fiji-flo and caugner authored Jun 27, 2023
1 parent 5409df7 commit 064dedd
Show file tree
Hide file tree
Showing 27 changed files with 1,544 additions and 40 deletions.
14 changes: 14 additions & 0 deletions .settings.dev.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[db]
uri = "postgres://rumba:[email protected]:5432/mdn"
supabase_uri = ""

[server]
host = "localhost"
Expand Down Expand Up @@ -37,3 +38,16 @@ human_logs = true
[metrics]
statsd_label = "rumba"
statsd_port = 8125

[basket]
api_key = ""
basket_url = ""

[playground]
github_token = ""
crypt_key = ""
flag_repo = "flags"

[ai]
api_key = ""
limit_reset_duration_in_sec = 3600
18 changes: 17 additions & 1 deletion .settings.local.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[db]
uri = "postgres://postgres:[email protected]/mdn "
uri = "postgres://postgres:[email protected]/mdn"
supabase_uri = ""

[server]
host = "localhost"
Expand All @@ -12,6 +13,8 @@ scopes = "openid profile email profile:subscriptions"
auth_cookie_name = "auth-cookie"
login_cookie_name = "login-cookie"
auth_cookie_secure = false
client_id="TEST_CLIENT_ID"
client_secret="TEST_CLIENT_SECRET"
cookie_key = "DUwIFZuUYzRhHPlhOm6DwTHSDUSyR5SyvZHIeHdx4DIanxm5/GD/4dqXROLvn5vMofOYUq37HhhivjCyMCWP4w=="
admin_update_bearer_token="TEST_TOKEN"

Expand All @@ -35,3 +38,16 @@ human_logs = true
[metrics]
statsd_label = "rumba"
statsd_port = 8125

[basket]
api_key = ""
basket_url = ""

[playground]
github_token = ""
crypt_key = ""
flag_repo = "flags"

[ai]
api_key = ""
limit_reset_duration_in_sec = 3600
7 changes: 6 additions & 1 deletion .settings.test.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[db]
uri = "postgres://rumba:[email protected]:5432/mdn"
supabase_uri = ""

[server]
host = "0.0.0.0"
Expand Down Expand Up @@ -45,4 +46,8 @@ basket_url = "http://localhost:4321"
[playground]
github_token = "foobar"
crypt_key = "IXAe2h1MekK4LKysmMvxomja69PT6c20A3nmcDHQ2eQ="
flag_repo = "flags"
flag_repo = "flags"

[ai]
limit_reset_duration_in_sec = 5
api_key = ""
Loading

0 comments on commit 064dedd

Please sign in to comment.