Closed Arahabica closed 10 months ago
I use gemini-pro-vision
model.
It seems like the issue might be due to simple string concatenation here. https://github.com/googleapis/nodejs-vertexai/blob/9546fe6aed5f647495cc8f511dd78f56f6755a35/src/process_stream.ts#L45
This should have been fixed by https://github.com/googleapis/nodejs-vertexai/pull/86. Could you confirm by installing from main via npm install "https://github.com/googleapis/nodejs-vertexai"
and sending the same request you tried before?
@sararob I have confirmed that the problem is fixed. Thank you!
Thanks for confirming! I'll close this issue.
When using Japanese with vertex_ai.preview.getGenerativeModel, REPLACEMENT CHARACTERS are displayed.
Environment details
@google-cloud/vertexai
version 0.1.3Steps to reproduce