Commit Graph

5 Commits

Author SHA1 Message Date
Oliver Stanley 69bc799cd9 344: Create tasks for text labels (#381)
* Implement label task for initial prompts and replies

* Resolve formatting

* Include missing argument

* Modify text_labels API to match new model, update DB schema accordingly

* Send valid labels as part of label tasks

* Send correctly formatted valid_labels list

* Fix request format

* Fix request details for text-frontend reply label task

* Include message_id in tasks

* Address review comments

* Fix alembic tree
2023-01-06 18:39:04 +01:00
Jack Michaud 3dcfe7014e test: add test for unhandled api error 2023-01-02 21:06:00 -05:00
Jack Michaud f66ad30c53 fix: handle empty 204 response 2023-01-02 21:00:23 -05:00
Jack Michaud fe21732f8d feat: handle OasstError in OasstApiClient 2023-01-02 19:06:30 -05:00
Jack Michaud ed115ea17c refactor: move OasstApiClient into oasst-shared (#287)
* refactor: move api_client into oasst-shared

* refactor: move contract tests into oasst-shared

* fix: use new OasstApiClient imports in discord bot
2023-01-02 22:13:20 +01:00