Commit Graph

24 Commits

Author SHA1 Message Date
Sam Rose a58c75e328
Expose feature flags type in packages/type so it can be exposed to the frontend. 2025-01-06 12:11:14 +00:00
Martin McKeaveney 46bd790b3a update tests 2024-12-04 10:35:59 +00:00
Martin McKeaveney e119e310ef pro ref 2024-12-04 10:26:19 +00:00
Martin McKeaveney e4181ecacf merge 2024-11-05 11:09:56 +00:00
Martin McKeaveney 7623c0ce07 further AI config updates for case where there's no configuration 2024-11-05 10:54:33 +00:00
Martin McKeaveney 7b867abd19 flag ai with feature flags correctly 2024-11-04 22:15:41 +00:00
Martin McKeaveney 876d837c33 adjust instantiation of llm class after static initialiser change 2024-09-20 14:58:10 +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
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
Pascal Reichmuth e4664d23d7
Update openai.ts 2024-09-12 16:22:49 +02:00
Pascal Reichmuth d8ff33441e
Update openai.ts 2024-09-12 15:51:00 +02: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 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
Sam Rose cd98882127
Move secrets into backend-core. 2024-07-03 16:30:23 +01:00
Peter Clement cf11009e24
Update OpenAI dependency to fix 400 errors (#14033)
* Update OpenAI dependency to fix 400 errors

* add some optional chaining for safety

* add caret

* fix tests
2024-06-27 12:17:48 +01:00
Sam Rose 217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Peter Clement 5a73b02827 update feature array to be an object 2023-05-26 11:02:47 +01:00
Martin McKeaveney db5d051755 GPT4 support 2023-05-24 15:26:27 +01:00
Martin McKeaveney e70e3ae662 rename 2023-04-26 15:58:21 +01:00
Martin McKeaveney 4f020a4db4 lint 2023-04-26 15:56:46 +01:00
Martin McKeaveney 84f52683b2 chatgpt automation block 2023-04-26 15:55:44 +01:00