( config: any, vars?: Record<string, VarValue>, )
| 413 | * @returns The processed configuration with variables rendered and files loaded |
| 414 | */ |
| 415 | export function maybeLoadFromExternalFileWithVars( |
| 416 | config: any, |
| 417 | vars?: Record<string, VarValue>, |
| 418 | ): any { |
| 419 | const rendered = renderVarsInObject(config, vars); |
| 420 | return maybeLoadFromExternalFile(rendered); |
| 421 | } |
| 422 | |
| 423 | /** |
| 424 | * Loads response_format configuration from an external file with variable rendering. |
no test coverage detected
searching dependent graphs…