mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
fix: add index signature to OpenAIFunctionParameter for compatibility
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
This commit is contained in:
@@ -13,6 +13,7 @@ export interface OpenAIFunctionParameter {
|
||||
properties?: Record<string, OpenAIFunctionParameter>;
|
||||
required?: string[];
|
||||
items?: OpenAIFunctionParameter;
|
||||
[key: string]: any; // Add index signature for OpenAI's FunctionParameters compatibility
|
||||
}
|
||||
|
||||
export interface OpenAIFunction {
|
||||
|
||||
Reference in New Issue
Block a user