-
```py
import discord
import google.generativeai as genai
from discord.ext import commands
DISCORD_BOT_TOKEN = "SEU_DISCORD_BOT_TOKEN"
GEMINI_API_KEY = "SUA_GEMINI_API_KEY"
intents = discord.…
-
```
2024-07-03 13:16:24.042 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\BT428FR\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\l…
-
### ⚠️ 搜索是否存在类似issue
- [X] 我已经搜索过issues和disscussions,没有发现相似issue
### 总结
建议新增gemini-1.5-pro-latest模型配置,并且对接一下gemini的多模态,比如图像识别分析和图片生成
### 举例
_No response_
### 动机
_No response_
-
### Description of the bug:
I am sending a request to Gemini API with tools (function call) but consistently receiving 500 internal server error. Without the function call the API returns 200 res…
-
### Description of the bug:
My app ran well with function calling 12 days ago. However, when I tried to use this app today, Gemini API raised an InvalidArgument exception. And I managed to figure ou…
-
While I set _DOCUMENT_ENCODER_MODEL_ to mistral (should it be ollama/mistral?), danswer still thinks it should load the model from HF. Is there a way to force him to connect to an external endpoint?
…
-
### Description of the bug:
when i am trying to ask a question to the model by adding the image ,sometimes i am getting below error
grpc._channel._MultiThreadedRendezvous:
-
`ITChatSessionIntegrationTest:sendMessageMixedStreamAndUnary_historyOfFour` and `ITChatSessionIntegrationTest.sendMessageMixedStreamAndUnary_historyOfFour` failed with IllegalStateException
in GraalV…
-
The following error keeps coming up when I tried hosting a yt video summarising app on streamlit using the gemini api. could you help me resolve it?
InternalServerError: 500 An internal error has occ…
-
Wondering if it is possible to add streaming support for models hosted on Sagemaker. This example makes it seem possible, but the implementation looks awkward.
https://github.com/aws/amazon-sagemaker…