Skip to content

Validate user's OpenAI tokens. #15

@kordless

Description

@kordless

We need to validate the user's tokens for talking to OpenAI.

If the user token is bad, we need to take action to disable the endpoint.

Let's assume the user enters a bad token, which will approximate the issue with a valid token expiring later.

If the token is expired, we'll get a dead letter. While this is a good start, the issue is we want to disable the ingest, to prevent additional tasks being spawned.

The disabled endpoint for the pipeline(table for now) should respond with an error that the token is expired.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions