feat: support binding context var (#1227)

Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
Garfield Dai
2023-09-27 14:53:22 +08:00
committed by GitHub
parent 59236b789f
commit 18c710c906
44 changed files with 711 additions and 77 deletions

View File

@@ -8,6 +8,7 @@ export type PromptVariable = {
required: boolean
options?: string[]
max_length?: number
is_context_var?: boolean
}
export type CompletionParams = {