Skip to content

fix: Client.uploadFile(): Restrict tag choices to those specified in the API docs#143

Open
Taureon wants to merge 1 commit intostoatchat:mainfrom
Taureon:patch-3
Open

fix: Client.uploadFile(): Restrict tag choices to those specified in the API docs#143
Taureon wants to merge 1 commit intostoatchat:mainfrom
Taureon:patch-3

Conversation

@Taureon
Copy link

@Taureon Taureon commented Mar 14, 2026

Currently, you can essentially give it random garbage, even if the API docs page for it clearly states that only 6 specific paths work.

There is probably a better solution than "hard-code a large string-literal union", but so far I haven't found it yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant