Merge pull request #7481 from uinstinct/http-headers-docs

docs: add headers example in http context provider
This commit is contained in:
Dallin Romney 2025-09-02 11:05:31 -07:00 • committed by GitHub
commit 0a0cee699c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -335,6 +335,8 @@ The HttpContextProvider makes a POST request to the url passed in the configurat
- provider: http
params:
url: "https://api.example.com/v1/users"
headers:
- Authorization: "Bearer <token>"
```
</Tab>
<Tab title="JSON (Deprecated)">
@ -409,7 +411,8 @@ You'll then be able to type "@" and see "MCP" in the context providers dropdown.
## Deprecated Context Providers
<Note>
To provide conext beyond the built-in context providers, we now recommend using [MCP Servers](/customization/mcp-tools)
To provide conext beyond the built-in context providers, we now recommend
using [MCP Servers](/customization/mcp-tools)
</Note>
View the [deprecated context providers](/reference/deprecated-context-providers) for documentation on:
@ -427,4 +430,4 @@ View the [deprecated context providers](/reference/deprecated-context-providers)
- `@Issue` - GitHub issues
- `@Url` - URL content
- `@Search` - Codebase search
- `@Web` - Web search results
- `@Web` - Web search results