vercel: Reuse existing OpenAI code (#33362)

Follow up to #33292

Since Vercel's API is OpenAI compatible, we can reuse a bunch of code.

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner 2025-06-25 15:04:43 +02:00 committed by GitHub
parent c979452c2d
commit 18f1221a44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 30 additions and 674 deletions

3
Cargo.lock generated
View file

@ -17431,11 +17431,8 @@ name = "vercel"
version = "0.1.0"
dependencies = [
"anyhow",
"futures 0.3.31",
"http_client",
"schemars",
"serde",
"serde_json",
"strum 0.27.1",
"workspace-hack",
]