Hi, I have a question regarding the agent configuration in 00.ForBeginners/07-planning-design/code_samples/dotnet-agent-framrwork-ghmodel-planningdesign.
In the current code, the detailed prompt is assigned to the Description property:
Description = AGENT_INSTRUCTIONS, // Contains detailed system prompt
However, based on standard usage, I expected the prompt to be assigned to ChatOptions.Instructions:
ChatOptions = new() { Instructions = AGENT_INSTRUCTIONS }
I noticed that when I moved the prompt to Instructions, the model returned the correct response as expected.
Is this a mistake in the example code?
Or is there a specific design reason here where Description is used instead of Instructions?
Thanks!
Hi, I have a question regarding the agent configuration in 00.ForBeginners/07-planning-design/code_samples/dotnet-agent-framrwork-ghmodel-planningdesign.
In the current code, the detailed prompt is assigned to the Description property:
Description = AGENT_INSTRUCTIONS, // Contains detailed system promptHowever, based on standard usage, I expected the prompt to be assigned to ChatOptions.Instructions:
ChatOptions = new() { Instructions = AGENT_INSTRUCTIONS }I noticed that when I moved the prompt to Instructions, the model returned the correct response as expected.
Is this a mistake in the example code?
Or is there a specific design reason here where Description is used instead of Instructions?
Thanks!