(toolCall fantasy.ToolCallContent)
| 102 | } |
| 103 | |
| 104 | func toolCallContentToPart(toolCall fantasy.ToolCallContent) fantasy.ToolCallPart { |
| 105 | return fantasy.ToolCallPart{ |
| 106 | ToolCallID: toolCall.ToolCallID, |
| 107 | ToolName: toolCall.ToolName, |
| 108 | Input: toolCall.Input, |
| 109 | ProviderExecuted: toolCall.ProviderExecuted, |
| 110 | ProviderOptions: fantasy.ProviderOptions(toolCall.ProviderMetadata), |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | func toolResultContentToPart(toolResult fantasy.ToolResultContent) fantasy.ToolResultPart { |
| 115 | return fantasy.ToolResultPart{ |
no test coverage detected