mike12345567
c8d1956c73
Fixing AI test cases.
2024-09-23 12:59:20 +01:00
Martin McKeaveney
876d837c33
adjust instantiation of llm class after static initialiser change
2024-09-20 14:58:10 +01:00
Martin McKeaveney
dadce14a71
Merge branch 'master' into budi-8608-ai-platform-level-config-pt-2
2024-09-19 10:48:01 +01:00
Martin McKeaveney
950bd45b2c
add ts ignore for mock
2024-09-18 18:04:13 +01:00
Martin McKeaveney
69b2bf9bdb
lint
2024-09-18 14:21:10 +01:00
Martin McKeaveney
9cbaa02f5f
add test for automation run step when LLM feature flags are on
2024-09-18 14:01:54 +01:00
Martin McKeaveney
2cf07a40f6
fix for setting default configs
2024-09-18 09:44:33 +01:00
Martin McKeaveney
e40f397c25
move check for OpenAI config variable to legacy path
2024-09-17 16:29:44 +01:00
Martin McKeaveney
224be10b6c
support for overriding models
2024-09-17 16:08:59 +01:00
deanhannigan
e3abaab419
Merge branch 'master' into feat/automation-step-naming-updates
2024-09-17 09:15:17 +01:00
Martin McKeaveney
7fc0f38296
Merge branch 'master' of github.com:Budibase/budibase into budi-8608-ai-platform-level-config-pt-2
2024-09-16 11:54:12 +01:00
Martin McKeaveney
c85bc88bf9
draft of openai impl
2024-09-16 11:54:04 +01:00
mike12345567
2a69cb220f
Fixing an issue where table doesn't exist anymore for row trigger, which can cause the service to crash.
2024-09-13 18:54:47 +01:00
Peter Clement
7e767e4089
some pr comments
2024-09-13 12:25:39 +01:00
Peter Clement
c980742081
Merge remote-tracking branch 'origin/master' into feat/automation-step-naming-updates
2024-09-13 12:04:48 +01:00
Pascal Reichmuth
e4664d23d7
Update openai.ts
2024-09-12 16:22:49 +02:00
Peter Clement
a831a4bf07
tests to cover automation naming
2024-09-12 14:58:53 +01:00
Pascal Reichmuth
d8ff33441e
Update openai.ts
2024-09-12 15:51:00 +02:00
Peter Clement
babbe16d7d
fix test name
2024-09-11 15:50:21 +01:00
Peter Clement
f377b9f566
remove top level table config
2024-09-11 15:39:21 +01:00
Peter Clement
1947000f0c
update case where no branch condition is met
2024-09-11 14:50:52 +01:00
Peter Clement
4231dafc94
remove uneeded import
2024-09-09 14:26:37 +01:00
Peter Clement
b1b861139d
feature flag the branch action definition
2024-09-05 14:25:04 +01:00
Peter Clement
452ff17e1f
Merge branch 'master' into fix/automation-context-bug
2024-09-04 17:54:15 +01:00
Peter Clement
2135dbca67
update automation test builder to support ...building
2024-09-04 16:37:33 +01:00
Peter Clement
3a8a8b1195
fix issue with multiple loops breaking automation context
2024-09-04 14:54:47 +01:00
Peter Clement
484b329bc8
ensure branch step is in output
2024-09-03 16:29:52 +01:00
Peter Clement
56641e06c3
re-add branch step to outputs
2024-09-03 11:10:30 +01:00
Peter Clement
66fdf03398
Refactor automation orchestrator to support branching ( #14461 )
...
* refactor automation thread
* fix infinite loop in branching
* remove try catch
* remove spacing
* remove unecessary addition of branch outputs
* pr comments
* remove loopstep instance variable
* add test to cover failure scenario
* add tests for other automationf ailure conditions
* update test name
* use private keyword instead of underscore
* parse int / string safely
* fix refs
* add condition support for branching and tests
* create helper function for recursing all search filters
* move helper func
* fix import
2024-09-03 08:33:41 +00:00
Peter Clement
0e229c9b2e
Update automation test builder to support branching ( #14387 )
...
* add branch step definition
* update automation test builder to support branching
* rename Automation test builder
* example test
* pr comments
2024-08-15 16:07:42 +00:00
Peter Clement
f15847a40f
More automation typing in preparation for branching ( #14378 )
...
* More typing for automations
* undo test updates
* remove casting of loop step and add more types
* remove unused type
* pro
* Update types and fix ts issues
* add branching types
* remove any cast
---------
Co-authored-by: Adria Navarro <adria@budibase.com>
2024-08-14 21:39:39 +01:00
Peter Clement
37f749019d
Add more automation tests ( #14369 )
...
* Add more automation tests
* remove comment
* update assertion
* unused type
* split out query creation
* remove map
2024-08-13 14:16:55 +01:00
Sam Rose
083b595d50
Fix formatting.
2024-08-09 11:58:57 +01:00
Sam Rose
3d590e879e
Rely on withEnv and setEnv functions in respective environment.ts files.
2024-08-09 10:30:27 +01:00
Adria Navarro
80ff963082
Remove unnecessary coercion
2024-08-07 17:01:59 +02:00
Adria Navarro
b9c1aa05b0
Add todo for types
2024-08-06 09:10:41 +02:00
Sam Rose
1ce5b53409
Add Oracle to executeQuery.spec.ts
2024-08-02 17:20:52 +01:00
Sam Rose
c8fadc33d9
Fix discorfd.spec.ts's reliance on the node-fetch mock.
2024-08-01 12:21:42 +01:00
Sam Rose
6d70dd1924
Fix outgoingWebhook.spec.ts's reliance on the node-fetch mock.
2024-08-01 12:19:44 +01:00
Sam Rose
b39875fb4b
Fix make.spec.ts's reliance on the node-fetch mock.
2024-08-01 12:07:01 +01:00
Sam Rose
f16f1fb7ba
Fix zapier.spec.ts's reliance on the node-fetch mock.
2024-08-01 12:03:29 +01:00
Sam Rose
e530400f46
Fix n8n.spec.ts's reliance on the node-fetch mock.
2024-08-01 11:57:04 +01:00
Peter Clement
8539f6d853
Add helper function / builder for creating Automations for tests and improved types ( #14220 )
...
* basic class for generating and running an automation
* change filename
* add to existing tests
* remove dupe tests
* add types to automation steps
* add types to triggers
* update tests and typing
* fix types
* typo
* move all step schema types do types folder
* updated types
* typing pr comments
* remove unused param
* some more typing and tests
* more typing
* improve type map
* fix broken type
* this will surely fix my issue
2024-07-31 22:18:00 +01:00
mike12345567
8a7e0793d4
Linting.
2024-07-30 16:07:09 +01:00
mike12345567
8f7a88ce86
Moving logic to frontend - definitions are returned unless they are deprecated, frontend decides which it can use to create.
2024-07-30 16:04:33 +01:00
mike12345567
76652ddab5
Fixes some issues with row actions which were allowing them to be added from the automation section (which is not allowed) as well as breaking app access once they were added - this hides them properly so they can't be added as well as fixing the issue when they exist.
2024-07-30 15:07:34 +01:00
Adria Navarro
0ee0901961
Remove comment
2024-07-25 16:16:18 +02:00
Adria Navarro
173a9cb75a
Clean outputs
2024-07-25 16:15:23 +02:00
Adria Navarro
b12641e467
Merge branch 'master' into BUDI-8441/row-action-run-api
2024-07-25 16:09:23 +02:00
Adria Navarro
db9bc1f373
Fix types
2024-07-25 16:08:51 +02:00