Add a current block
variable in task
#24681
Replies: 4 comments
This comment has been hidden.
This comment has been hidden.
-
No fancy thing. By blocks, just simply some 'paragraph's separated by newlines. It does not matter what current language is. e.g.
Or
Or
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
😅My 'X-problem' is I just simply want to get the current block content to run some external tasks like making HTTP request in a # Get sources
POST http://localhost:7777/v1/messages/sources
# Get groups
POST http://localhost:7777/v1/messages/groups
{
"source": "telegram"
}
# User Documents
POST http://localhost:9999/v1/user_documents
Content-Type: application/json
{
"user_id": "66a89a81dee17b00119020b8"
} Or call an external task to translate some paragraph, although we currently do not have the ability to insert the task output or replace with the task output (#12598, #9445). BTW, I also considered requesting |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Add a
current block
variable in task. Blocks are separated by newlines (or tree-sitter query expansion)Beta Was this translation helpful? Give feedback.
All reactions