-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: HTTP request tool #9228
Merged
Merged
feat: HTTP request tool #9228
Changes from 64 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
3744248
:zap: setup
michael-radency a0b0200
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency ef9a6ae
:zap: authentication support
michael-radency ad957fc
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 742dd46
:zap: oauth2 authentication fixes, toll description prompt update
michael-radency 4c84098
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency f335ec7
:zap: clean up
michael-radency 2f86da6
:zap: fix for tool description prompt
michael-radency fa73fc6
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency f8ed53b
:zap: ui updates, options
michael-radency 3d7bed7
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency e086460
:zap: ui for optimize response option
michael-radency f9a1801
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency f632455
:zap: optimize response util
michael-radency ea784a3
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 6e6b211
:zap: optimize response update
michael-radency 58b1e67
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 8147c5b
:zap: ui updates
michael-radency 87f2b39
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency c5beba4
:zap: clean up
michael-radency 0996986
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 448bd7d
:zap: descriptions update
michael-radency 75967f1
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 6dd4524
Merge branch 'master' into ai-162-tool-to-visit-a-website
michael-radency 3f61121
combined url with path, placeholder notice, fixes
michael-radency efa655a
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency e3079f5
:zap: updating UI
michael-radency 22bf42c
updating implementation, WIP
michael-radency a9e1a59
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency c937f14
:zap: dynamic tool func update
michael-radency 6d3671f
placeholders definitions parameter
michael-radency 03666d3
prompts updates
michael-radency 7824434
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency fb817a1
require comma separated values from LLM instead filled request options
michael-radency fa6ac15
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 23d5c07
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency ea4a9d3
properties schema and DynamicStructuredTool support
michael-radency 8236d49
construct shcema properties helper
michael-radency 0cac68d
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 2362c29
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 05bce18
reverted changes related to dynamic structured tool, updated paramete…
michael-radency 00a8e2a
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency af07e08
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency d671160
json with placheholders processing
michael-radency fbca8e9
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 71dabba
refactoring
michael-radency 7535658
refactoring
michael-radency 77f1b7d
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency eadb6de
refactoring
michael-radency 1dd28d5
spelling fixes
michael-radency 40dba41
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 557f8e8
include http code if present in error
michael-radency 10c0216
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency eb93f7d
review updates
michael-radency 8924ca5
tool telemetry
michael-radency 3e36a22
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 13a47bf
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 8bcfddd
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 7eafbbd
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency aa33bae
no placeholders run fix, truncate responce, tool name check to be alh…
michael-radency 320b502
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 46e3d21
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 9427c40
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency adc9dba
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 1e56038
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency a3db54c
review, refactoring
michael-radency 2107d83
dark mode icon
michael-radency 6f5283c
use @mozilla/readability in text mod0e
michael-radency e3bccb3
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency b4e6903
cheerio version update
michael-radency d2b3858
Merge branch 'master' of https://github.com/n8n-io/n8n into ai-162-to…
michael-radency 853da90
lock file update
michael-radency File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
405 changes: 405 additions & 0 deletions
405
packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/ToolHttpRequest.node.ts
Large diffs are not rendered by default.
Oops, something went wrong.
401 changes: 401 additions & 0 deletions
401
packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/descriptions.ts
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/httprequest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/interfaces.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export type ToolParameter = { | ||
name: string; | ||
required: boolean; | ||
type?: string; | ||
description?: string; | ||
sendIn: SendIn; | ||
key?: string; | ||
}; | ||
|
||
export type PlaceholderDefinition = { | ||
name: string; | ||
type?: string; | ||
description: string; | ||
}; | ||
|
||
export type ParametersValues = Array<{ | ||
name: string; | ||
valueProvider: 'modelRequired' | 'modelOptional' | 'fieldValue'; | ||
value?: string; | ||
}>; | ||
|
||
export type ParameterInputType = 'keypair' | 'json' | 'model'; | ||
export type SendIn = 'body' | 'qs' | 'path' | 'headers'; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might also want to add a .dark icon to improve contrast