Skip to content

Question about Planner Agent configuration: Description vs Instructions #118

Description

@yun564912533

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions