Amm1rr / WebAI-to-API

Claude, Gemini to API : ) (Don't need API KEY)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whether there are plans to support text + message attachment files and pictures

GeekWorkCode opened this issue · comments

Whether there are plans to support text + message attachment files and pictures

I have make experiments about how to achieve thoes, feature request could be pulled if you need it.

Support for images existed in earlier versions, but I haven't had time to update it for a while. It would be great if someone could take the time to make a PR.

Current implementation is a little bit message, the uploading file and the uploading the document should be the seperate parts, if I need to submit a PR, there weill be a dramatic change, is this ok?

Your answer sounds like something a dictator would say :)
Bro, it's okay. You take the first step, and we will optimize and enhance it.

😥I apologize for the dictatorial tone in my previous comment regarding the separate handling of file and document uploads. Upon reflection, I realize that my suggestion came across as quite forceful and overbearing. That was never my intention, and I sincerely regret my inappropriate choice of words.

I will attempt to submit a PR to improve the current implementation later, and I look forward to optimizing it together with you.

Is this current master version runnable? I was trying to run the current master version, only find a little bit messay:

  1. the GeminiClient seems not defined.
  2. the cookie loading from the config fails for me.
  3. the claude clients seem to load it self a again and again.😢