-
Hi, I am using Gemini ai-studio as in the official Vercel example.
I tried to play with system prompt. Different prompting techniques... Anything I am doing wrong, or it's the problem on Google side? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Can you check if there are any errors during tool calling? You can enable error msg forwarding or log the errors as follows: https://sdk.vercel.ai/docs/ai-sdk-ui/chatbot#error-messages |
Beta Was this translation helpful? Give feedback.
-
Solved by adding this to prompt: https://gist.github.com/AntonIXO/9e577adf8ec9b3face64b38bbafe7017 |
Beta Was this translation helpful? Give feedback.
-
I discovered that this issue arises when a new tool is suddenly added, and the previous conversation did not utilize it. Interestingly, after clearing the conversation history, the functionality resumed as expected. |
Beta Was this translation helpful? Give feedback.
Solved by adding this to prompt: https://gist.github.com/AntonIXO/9e577adf8ec9b3face64b38bbafe7017
I don't really understand why, but it worked)