Steer the running turn
curl --request POST \
--url https://aquila.attaxr.com/api/chat/{id}/steer \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"content": "<string>"
}
'const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({content: '<string>'})
};
fetch('https://aquila.attaxr.com/api/chat/{id}/steer', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/chat/{id}/steer"
payload = { "content": "<string>" }
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Chat
Steer the running turn
Adds a mid-run prompt to a hackbot thread that has a live turn. The steering middleware reads the queue before each model call and adds the prompt to that call. No new turn starts. Delivery to the running turn is not guaranteed. A prompt that arrives after that turn’s last model call stays queued, and the thread’s next turn applies it.
POST
/
api
/
chat
/
{id}
/
steer
Steer the running turn
curl --request POST \
--url https://aquila.attaxr.com/api/chat/{id}/steer \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"content": "<string>"
}
'const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({content: '<string>'})
};
fetch('https://aquila.attaxr.com/api/chat/{id}/steer', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/chat/{id}/steer"
payload = { "content": "<string>" }
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}
