You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified that this discussion would not be more appropriate as an issue in a specific repository
I have searched existing discussions to avoid duplicates
Discussion Topic
i want to create a McpServerTool, but i need a custom MarshalResult for aifucntion.
in the CreateAIFunctionFactoryOptions function hardcoding the MarshalResult = new ValueTask(result),
i have not any chance to re-set to my marshalresult function.
i only can create aifunction,than use the aifunction to create a mcpservertool.
but i will loss many setups in DeriveOptions and CreateAIFunctionFactoryOptions(private methods).
can add a MarshalResult property in create options, or give me a change to re-setup marshalresult property?
i just want to custom a marsahlresult, and dont want to loss too many setup logical.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Discussion Topic
i want to create a McpServerTool, but i need a custom MarshalResult for aifucntion.
in the CreateAIFunctionFactoryOptions function hardcoding the MarshalResult = new ValueTask(result),
i have not any chance to re-set to my marshalresult function.
i only can create aifunction,than use the aifunction to create a mcpservertool.
but i will loss many setups in DeriveOptions and CreateAIFunctionFactoryOptions(private methods).
can add a MarshalResult property in create options, or give me a change to re-setup marshalresult property?
i just want to custom a marsahlresult, and dont want to loss too many setup logical.
Beta Was this translation helpful? Give feedback.
All reactions