Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dotnet/agent-framework/sample-agent/Agent/MyAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ await A365OtelWrapper.InvokeObservedAgentOperation(
// Create Chat Options with tools:
var toolOptions = new ChatOptions
{
Temperature = (float?)0.2,
// Note: Some models (e.g., o1, o3, gpt-5.2-chat) require Temperature = 1(default) because they do not support other values.
// Standard GPT models (GPT-3.5, GPT-4) typically support temperature range 0.0 to 2.0.
Temperature = (float?)1,
Tools = toolList
};

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"profiles": {
"AgentFrameworkSampleAgent": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"BEARER_TOKEN": ""
},
"applicationUrl": "https://localhost:62738;http://localhost:62739"
}
}
}
Loading