How should the header be configured in the generative AI custom LLM Transformer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2025 01:37 AM
I configured a generic large language model (LLM) connector, but for the Authorization part in the header, I have to either set it as a fixed value or use a script to query. I believe that after the authentication has been configured, there should no longer be a need to query the apikey in the AI custom LLM Transformer. Could you please tell me exactly how to configure it so that I don't need to use a script to obtain the API key?
my generative AI custom LLM Transformer request transformer :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I’m facing the same issue while integrating a Custom LLM using API Key credentials.
Have you been able to find any configuration that allows ServiceNow to automatically inject the API key into the request headers, without querying it manually in the Custom LLM Transformer script?
If yes, could you please share how you configured it?
If not, did you get any confirmation that manual scripting is the expected behavior?
Thanks in advance.
