feat(llm): auto fixing known llm format errors
This commit is contained in:
@@ -49,9 +49,9 @@ export interface LLMClient {
|
||||
*/
|
||||
export interface InvokeResult<TResult = unknown> {
|
||||
toolCall: {
|
||||
id?: string // OpenAI's tool_call_id
|
||||
// id?: string // OpenAI's tool_call_id
|
||||
name: string
|
||||
args: Record<string, unknown>
|
||||
args: any
|
||||
}
|
||||
toolResult: TResult // Supports generics, but defaults to unknown
|
||||
usage: {
|
||||
|
||||
Reference in New Issue
Block a user