(toolCall fantasy.ToolCallContent)
| 954 | } |
| 955 | |
| 956 | func toolCallContentToPart(toolCall fantasy.ToolCallContent) fantasy.ToolCallPart { |
| 957 | return fantasy.ToolCallPart{ |
| 958 | ToolCallID: toolCall.ToolCallID, |
| 959 | ToolName: toolCall.ToolName, |
| 960 | Input: toolCall.Input, |
| 961 | ProviderExecuted: toolCall.ProviderExecuted, |
| 962 | ProviderOptions: fantasy.ProviderOptions(toolCall.ProviderMetadata), |
| 963 | } |
| 964 | } |
| 965 | |
| 966 | func toolResultContentToPart(toolResult fantasy.ToolResultContent) fantasy.ToolResultPart { |
| 967 | return fantasy.ToolResultPart{ |
no test coverage detected