Chore/API for AgentflowV2 (#4696)

* Enhancement: Introduce prepended chat history handling in Agent and LLM nodes.

- Added support for `prependedChatHistory` in both `Agent` and `LLM` classes to allow for initial message context.
- Implemented validation for history schema in execution flow to ensure proper format.
- Refactored utility functions to include JSON sanitization and validation methods for improved data handling.

* update prediction swagger
This commit is contained in:
Henry Heng
2025-06-22 13:16:35 +01:00
committed by GitHub
parent 035b5555a9
commit 543800562e
9 changed files with 426 additions and 89 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ export interface IOverrideConfig {
label: string
name: string
type: string
schema?: ICommonObject[]
schema?: ICommonObject[] | Record<string, string>
}
export type ICredentialDataDecrypted = ICommonObject