🐛 Bug Report: Whole message history is stringified into a single 'user prompt' #2513
Open
1 task done
Labels
bug
Something isn't working
Which component is this bug for?
VertexAI Instrumentation
📜 Description
Passing a list of messages to
generate_content
combines them all into a single string and stores/presents them as a single user prompt instead of keeping them separate.👟 Reproduction steps
👍 Expected behavior
Attributes look something like:
👎 Actual Behavior with Screenshots
Attributes look like:
🤖 Python Version
No response
📃 Provide any additional context for the Bug.
openllmetry/packages/opentelemetry-instrumentation-vertexai/opentelemetry/instrumentation/vertexai/__init__.py
Lines 124 to 138 in d92a50e
👀 Have you spent some time to check if this bug has been raised before?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: