Commit Graph

636 Commits

Author SHA1 Message Date
Yannic Kilcher 194ee6632a added QA notebook from rallio 2023-01-02 21:51:36 +01:00
Alex Ott e15259b311 Stop users from starting more than one task at a time (#265)
* make sure a user can only do 1 task at a time

* remove todo comment

* move handle_task inside a try/finally block
2023-01-02 19:32:40 +01:00
Yannic Kilcher e692cc0e07 Merge pull request #283 from andrewm4894/add-copilot-to-devcontainer
add copilot to devcontainer
2023-01-02 19:09:41 +01:00
Andrew Maguire db98de0888 prettier fix 2023-01-02 18:08:07 +00:00
Andrew Maguire 170d82099a add copilot to devcontainer 2023-01-02 18:05:15 +00:00
Andrew Maguire 571dcc283b Merge pull request #251 from andrewm4894/add-devcontainer
Add `devcontainer.json` for GitHub/VSCode codespaces
2023-01-02 17:58:45 +00:00
Andrew Maguire 75fc2d0f8f Merge branch 'LAION-AI:main' into add-devcontainer 2023-01-02 17:54:44 +00:00
Yannic Kilcher 68f4976db1 Merge pull request #281 from kiritowu/implement_fastapi_limiter
Implement Backend Fastapi limiter
2023-01-02 18:35:13 +01:00
kiritowu 4796146aa7 Fix getting api_key using dependencies 2023-01-03 01:17:36 +08:00
kiritowu 91f7828395 Merge branch 'implement_fastapi_limiter' of github.com:kiritowu/Open-Assistant into implement_fastapi_limiter 2023-01-03 00:34:41 +08:00
kiritowu 0c1eaeb066 Update docker compose to start redis on backend-dev and update REDIS_HOST in compose environment 2023-01-03 00:28:05 +08:00
kiritowu aa6d5786c6 Add rate limiter for task request 2023-01-03 00:28:05 +08:00
kiritowu bbf385bc07 Add TOO_MANY_REQUEST to OasstErrorCode 2023-01-03 00:28:05 +08:00
kiritowu 2a2968f6d4 Initialise redis connection for Fastapi limiter 2023-01-03 00:28:05 +08:00
kiritowu af0313ad5d Add fastapi-limiter to requirements.txt 2023-01-03 00:28:05 +08:00
kiritowu 4e82991b2d Update docker compose to start redis on backend-dev and update REDIS_HOST in compose environment 2023-01-03 00:22:37 +08:00
kiritowu 95089d1ccf Add rate limiter for task request 2023-01-03 00:19:55 +08:00
Andrew Maguire 7956ed0cbe try precommit 2023-01-02 15:59:41 +00:00
Yannic Kilcher bcc73d6e02 fixed encoding header 2023-01-02 16:52:31 +01:00
Yannic Kilcher 07c62c925b Merge branch 'main' of github.com:LAION-AI/Open-Chat-GPT 2023-01-02 16:38:42 +01:00
Yannic Kilcher 9fd201ded5 added verify-lobby script 2023-01-02 16:38:38 +01:00
Andrew Maguire c5a0df636f Merge remote-tracking branch 'upstream/main' into add-devcontainer 2023-01-02 15:20:24 +00:00
Keith Stevens 40b6aa26b2 Merge pull request #271 from othrayte/cypress-e2e-doc
website: Add some new detail to the docs on e2e testing
2023-01-02 21:04:29 +09:00
Adrian Cowan 447a3bce41 website: Add some new detail to the docs on e2e testing 2023-01-02 22:40:51 +11:00
Yannic Kilcher 86e099ae1a Merge pull request #262 from melvinebenezer/trivial_typo
fix: typo in EssayInstructions.md and EssayRevision.md
2023-01-02 11:55:42 +01:00
Yannic Kilcher c489f3ddc5 Merge pull request #253 from AlexanderHOtt/feat/better-docs
Write better documentation for getting started with discord bot development.
2023-01-02 11:44:55 +01:00
Yannic Kilcher 9ed5fbcf76 Merge pull request #252 from bitplane/remove-utf8-coding
Remove utf8 coding pragma from pre-commit and python files
2023-01-02 11:43:59 +01:00
Keith Stevens ad0c48795c Merge pull request #266 from othrayte/website-e2e-tests
Website e2e tests
2023-01-02 19:43:49 +09:00
Adrian Cowan dc1af6e2d8 website: Add e2e tests of ranking replies and prompts
Like the previous commit, these are intended to function as a minimal smoke test that the API interaction with the backend is functional.
2023-01-02 21:13:10 +11:00
Adrian Cowan 32e212b5a5 website: Add e2e tests of creating an assistant/prompter reply
These are intended to function as a minimal smoke test that the API interaction with the backend is functional.
2023-01-02 21:13:10 +11:00
Adrian Cowan 0df6d7fd31 website: more e2e tests for signin
Fixed issue where existing sign in test fails due to the existence of dev test login.

Added reusable cy.signInWithEmail() to login before testing rest of UI.
2023-01-02 21:13:10 +11:00
Yannic Kilcher a196af7ca8 Merge pull request #249 from bitplane/docker-compose-context
Add context to compose file so it runs in older "docker-compose"
2023-01-02 11:06:02 +01:00
Yannic Kilcher 695677238a Merge pull request #247 from bitplane/pre-commit-changes-doc
Add warning + advice to .pre-commit-config.yaml
2023-01-02 10:59:15 +01:00
James Melvin 2ff6108047 fix: typo in EssayInstructions.md and EssayRevision.md 2023-01-02 12:43:37 +05:30
Keith Stevens 2d98259280 Merge pull request #189 from BitterKanegul/42-implement-text-labels-web-frontend
#42 Adding popover to flag text with labels
2023-01-02 14:25:11 +09:00
BitterKanegul 74396f79ba Add precommit fixes 2023-01-02 10:26:03 +05:30
BitterKanegul 725dededbd Add npm build fixes for types 2023-01-02 10:17:13 +05:30
BitterKanegul d36f2e4ec5 Change submitResponse function 2023-01-02 10:01:26 +05:30
BitterKanegul 3da5d11883 Add ESLint fixes 2023-01-02 09:52:24 +05:30
BitterKanegul e81c3cd3bb Incorporate review comments 2023-01-02 09:11:57 +05:30
BitterKanegul 260177ed1c Fix float 2023-01-02 09:11:57 +05:30
BitterKanegul fa5fc377ec Run prettier 2023-01-02 09:11:57 +05:30
BitterKanegul dfcbbee444 Adding popover to flag text with labels 2023-01-02 09:11:57 +05:30
Alex Ott 8e831f897f fix invite link 2023-01-01 17:06:54 -08:00
Alex Ott c2a0a34f82 merge main 2023-01-01 17:05:23 -08:00
Alex Ott 1d97bbc6c9 Merge remote-tracking branch 'upstream/main' 2023-01-01 17:01:50 -08:00
Alex Ott 8d9f3c80af update readme with a better getting started guide 2023-01-01 17:00:24 -08:00
kiritowu 5daadd6977 Add TOO_MANY_REQUEST to OasstErrorCode 2023-01-02 08:09:35 +08:00
kiritowu 144a5bc424 Initialise redis connection for Fastapi limiter 2023-01-02 08:04:59 +08:00
kiritowu 4e9a3ee292 Add fastapi-limiter to requirements.txt 2023-01-02 08:02:35 +08:00