Stefan-neo
Stefan-neo
WWindmill
Created by Stefan-neo on 4/3/2024 in #help
Slack Bot Development in Windmill
Alright, thanks for the follow-up. Happy to test and develop once there's progress in that direction
4 replies
WWindmill
Created by Stefan-neo on 4/3/2024 in #help
Slack Bot Development in Windmill
I'm aware that a /windmill integration could be used, but this use-case is about using Windmill as a custom App Backend
4 replies
WWindmill
Created by Stefan-neo on 3/24/2024 in #help
Trying to run GraphQL script with windmill TS client throws error
Hi @rubenf , short follow-up on a related matter. It seems there's no wmill.runFlow method, and wmill.runScript does not appear to work on flows.
12 replies
WWindmill
Created by Stefan-neo on 3/24/2024 in #help
Trying to run GraphQL script with windmill TS client throws error
Thanks a lot for looking into it! Will test later today
12 replies
WWindmill
Created by Stefan-neo on 3/24/2024 in #help
Trying to run GraphQL script with windmill TS client throws error
Yeah, just used it for verbose debugging
12 replies
WWindmill
Created by Stefan-neo on 3/24/2024 in #help
Trying to run GraphQL script with windmill TS client throws error
Hi @rubenf, the graphql script triggered by the parent runs successfully with this return
{
"myMutationName": {
"success": true
}
}
{
"myMutationName": {
"success": true
}
}
Minimal reproducible on the calling TS script side:
export async function main() {
const myGraphQLResource = await wmill.getResource("f/resources/myGraphQLResource")
await wmill.runScript("/f/myScript/scriptName", undefined, {
api: myGraphQLResource,
title: "Test from Script",
issueId: "testId",
url: "https://www.google.com/"
}, true)
return
export async function main() {
const myGraphQLResource = await wmill.getResource("f/resources/myGraphQLResource")
await wmill.runScript("/f/myScript/scriptName", undefined, {
api: myGraphQLResource,
title: "Test from Script",
issueId: "testId",
url: "https://www.google.com/"
}, true)
return
Error thrown on TS script (Bun) side:
SyntaxError: Failed to parse JSON
SyntaxError: Failed to parse JSON
at <parse> (:0)
at json (native)
at <anonymous> (/tmp/bun/node_modules/windmill-client/dist/client.js:238:5)
SyntaxError: Failed to parse JSON
SyntaxError: Failed to parse JSON
at <parse> (:0)
at json (native)
at <anonymous> (/tmp/bun/node_modules/windmill-client/dist/client.js:238:5)
Can reproduce this behavior for any other script I'm calling with wmill.runScript()
12 replies
WWindmill
Created by Stefan-neo on 3/22/2024 in #help
OpenAI Function Calling with Windmill Actions
Sounds exciting, I'll try that out and let you know how it went, thanks!
3 replies
WWindmill
Created by Stefan-neo on 3/17/2024 in #help
GraphQL schema length causes token limit to be exceeded
Hi @rubenf, just a brief poke as follow-up. Can I help out by filing an issue in https://github.com/windmill-labs/windmill/issues? Edit: Just found commit https://github.com/windmill-labs/windmill/commit/4557e7beb40de12b3d26708968f855ecbf49e7b5, thanks! Looking forward to test on v1.292.4, current cloud plan seems to be on EE v1.292.0-2-gb3e53de94
5 replies
WWindmill
Created by Stefan-neo on 3/17/2024 in #help
GraphQL schema length causes token limit to be exceeded
Alright, thanks a lot for looking into it ruben Edit: For context, here's the linear graphql schema: https://github.com/linear/linear/blob/master/packages/sdk/src/schema.graphql
5 replies