Skip to content

Commit 716cc90

Browse files
committed
updates for model catalog compatability
1 parent ce0adc4 commit 716cc90

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

SemanticDeveloper/SemanticDeveloper/Views/SessionView.axaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,8 @@ private async Task<List<ModelCatalogEntry>> FetchModelCatalogAsync()
646646
{
647647
var parameters = new JObject
648648
{
649-
["pageSize"] = PageSize
649+
["limit"] = PageSize,
650+
["pageSize"] = PageSize // legacy field for older Codex builds
650651
};
651652
if (!string.IsNullOrWhiteSpace(cursor))
652653
parameters["cursor"] = cursor;

SemanticDeveloper/SemanticDeveloper/models.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"id": "gpt-5-codex",
55
"model": "gpt-5-codex",
66
"displayName": "gpt-5-codex",
7-
"description": "Optimized for coding tasks with many tools.",
7+
"description": "Optimized for codex.",
88
"supportedReasoningEfforts": [
99
{
1010
"reasoningEffort": "low",
@@ -22,6 +22,24 @@
2222
"defaultReasoningEffort": "medium",
2323
"isDefault": true
2424
},
25+
{
26+
"id": "gpt-5-codex-mini",
27+
"model": "gpt-5-codex-mini",
28+
"displayName": "gpt-5-codex-mini",
29+
"description": "Optimized for codex. Cheaper, faster, but less capable.",
30+
"supportedReasoningEfforts": [
31+
{
32+
"reasoningEffort": "medium",
33+
"description": "Dynamically adjusts reasoning based on the task"
34+
},
35+
{
36+
"reasoningEffort": "high",
37+
"description": "Maximizes reasoning depth for complex or ambiguous problems"
38+
}
39+
],
40+
"defaultReasoningEffort": "medium",
41+
"isDefault": false
42+
},
2543
{
2644
"id": "gpt-5",
2745
"model": "gpt-5",

0 commit comments

Comments
 (0)