Open openmynet opened 1 month ago
@openmynet is attempting to deploy a commit to the NextChat Team on Vercel.
A member of the Team first needs to authorize it.
The recent update introduces a conditional logic to the GeminiProApi
class in google.ts
. This logic appends googleChatPath
to the baseUrl
when specific conditions are met, enhancing the API's adaptability to different contexts.
File | Change Summary |
---|---|
app/client/platf.../google.ts |
Added logic to the GeminiProApi class to conditionally append googleChatPath to baseUrl . |
sequenceDiagram
participant Client
participant GeminiProApi
participant GoogleChat
Client->>GeminiProApi: Initialize request
alt Condition met
GeminiProApi->>GeminiProApi: Append googleChatPath to baseUrl
end
GeminiProApi->>GoogleChat: Send request with updated baseUrl
GoogleChat-->>GeminiProApi: Response
GeminiProApi-->>Client: Return response
In the land of code where changes bloom,
A path was altered, dispelling gloom.
The GeminiProApi now knows the way,
To chat with Google, come what may.
A tweak, a twist, a line of cheer,
Our code now sings, the way is clear! 🌟🐇
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?
Fix Google gemini bug in client when configuring base_url @4783
Summary by CodeRabbit