Commit Graph

7 Commits

Author SHA1 Message Date
rjmacarthy 2a8d38f058 Refactor fetch and post to use axios
Fix set_label id missing in payload use frontend_message_id

pre-commit

Refactor api fetcher/poster to axios create

lint

Remove string literal for path

Revert oasst_api_client.ts

Fix warning httpStatusCode OasstError optional parameter

Refactor remove api base url for local api

Lint add blank line
2023-01-13 17:05:10 +00:00
Adrian Cowan 5054e19e93 website: Remove next task button and load new task immediately
Also disable the task inputs while the task is submitted and before the new task is ready in case the users network is slow or something.
2023-01-13 23:40:16 +11:00
AbdBarho 54a042d002 Centralize task types 2023-01-10 06:51:59 +01:00
AbdBarho 94151f75e1 shorter dedupe duration 2023-01-08 20:16:10 +01:00
AbdBarho 30a034988f Validate on mount 2023-01-08 19:56:56 +01:00
AbdBarho ad91bfe201 Use hooks for "create" tasks 2023-01-08 19:19:52 +01:00
AbdBarho a19e0fa085 Extract generic code out of labeling task 2023-01-08 10:52:57 +01:00