Replies: 2 comments 1 reply
-
|
By the way, love this project! ❤ |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hey @wayneg123 , |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug:
When using the VoltOps LLM Observability dashboard at https://voltagent.dev/voltops-llm-observability-docs/, the JWT token configured in the "Context" tab is not being sent as an Authorization header in HTTP requests. Instead, the token is included in the request payload under options.context.jwtToken, which prevents proper authentication with the agent endpoint.
Steps To Reproduce:
Expected behavior:
The JWT token should be sent as an Authorization header in the format: Authorization: Bearer ABC
Actual behavior:
The JWT token is sent in the request payload instead:
{ "input": [...], "options": { "conversationId": "wv3gsjaf5i", "temperature": 0.7, "maxTokens": 4000, "maxSteps": 10, "context": { "jwtToken": "ABC" } } }Request headers observed:
POST /agents/my-voltagent-app/chat HTTP/1.1
Accept: /
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-US,en;q=0.9,zh-TW;q=0.8,zh-CN;q=0.7,zh;q=0.6
Connection: keep-alive
Content-Length: 209
Content-Type: application/json
DNT: 1
Host: localhost:3141
Origin: https://console.voltagent.dev
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Beta Was this translation helpful? Give feedback.
All reactions