IBM Support

watsonx Code Assistant on VSCode : how to retrieve the chat_session_id and Request-ID

Question & Answer


Question

When opening a support ticket against watsonx Code Assistant it can be useful to provide the chat_session_id and the Request-ID, where can I find this information in VSCode ?

Answer

The first step is to set the "Wca: Log Level" to DEBUG, this can be done by opening the VSCode Settings page, selecting the "watsonx Code Assistant" under the Extensions menu.
Find the "Wca: Log Level" field and use the drop down list to set this field to DEBUG (see image below)
image-20241205104022-1
Once the Log Level is set to DEBUG, run the prompt once again, open the Output window and select "WCA Language Server" from the drop down list on the right (see image below)
image-20241205104817-2

[{"Type":"MASTER","Line of Business":{"code":"","label":""},"Business Unit":{"code":"","label":""},"Product":{"code":"SSGUM3","label":"IBM watsonx Code Assistant Software"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB70","label":"Z TPS"},"Business Unit":{"code":"","label":""},"Product":{"code":"SSJBG3","label":"IBM watsonx Code Assistant as a Service"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
05 December 2024

UID

ibm17177955