Closed lloydzhou closed 2 months ago
@lloydzhou is attempting to deploy a commit to the NextChat Team on Vercel.
A member of the Team first needs to authorize it.
The recent changes focus on refactoring the handling of request bodies and headers in Alibaba-related API and client code. The updates streamline the code by directly utilizing the request body and headers, introducing new interfaces for request inputs and parameters, and refining the model validation process for better alignment with server configurations.
Files | Change Summaries |
---|---|
app/api/alibaba/[...path]/route.ts |
Refactored to use req.body directly, updated handling of X-DashScope-SSE header, and improved model validation. |
app/client/platforms/alibaba.ts |
Restructured RequestPayload , introduced RequestInput and RequestParam interfaces, updated QwenApi class usage. |
In code where bytes and headers flow,
Refactoring brings a cleaner glow.
Models checked and headers read,
Through paths of logic, finely thread.
Interfaces new, parameters in,
A seamless dance, let changes begin.
🌐✨
[!TIP]
You can get early access to new features
Enable the `early-access` setting in your project's settings in CodeRabbit to enable early-access features.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Refactor
req.body
) and headers in API requests.