Skip to content

Commit 01a1051

Browse files
authored
Remove LLMCapability.Temperature from GPT-5 model capabilities (#1277)
<!-- Thank you for opening a pull request! Please add a brief description of the proposed change here. Also, please tick the appropriate points in the checklist below. --> ## Motivation and Context <!-- Why is this change needed? What problem does it solve? --> Fixes GPT 5 does not support temperature. #1263 ## Breaking Changes <!-- Will users need to update their code or configurations? --> --- #### Type of the changes - [ ] New feature (non-breaking change which adds functionality) - [x] Bug fix (non-breaking change which fixes an issue) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [ ] Tests improvement - [ ] Refactoring #### Checklist - [x] The pull request has a description of the proposed change - [x] I read the [Contributing Guidelines](https://github.com/JetBrains/koog/blob/main/CONTRIBUTING.md) before opening the pull request - [x] The pull request uses **`develop`** as the base branch - [x] Tests for the changes have been added - [x] All new and existing tests passed ##### Additional steps for pull requests adding a new feature - [ ] An issue describing the proposed change exists - [ ] The pull request includes a link to the issue - [ ] The change was discussed and approved in the issue - [ ] Docs have been added / updated
1 parent 06e8e33 commit 01a1051

File tree

1 file changed

+0
-8
lines changed
  • prompt/prompt-executor/prompt-executor-clients/prompt-executor-openai-client/src/commonMain/kotlin/ai/koog/prompt/executor/clients/openai

1 file changed

+0
-8
lines changed

prompt/prompt-executor/prompt-executor-clients/prompt-executor-openai-client/src/commonMain/kotlin/ai/koog/prompt/executor/clients/openai/OpenAIModels.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ public object OpenAIModels : LLModelDefinitions {
378378
provider = LLMProvider.OpenAI,
379379
id = "gpt-5",
380380
capabilities = listOf(
381-
LLMCapability.Temperature,
382381
LLMCapability.Schema.JSON.Basic,
383382
LLMCapability.Schema.JSON.Standard,
384383
LLMCapability.Speculation,
@@ -409,7 +408,6 @@ public object OpenAIModels : LLModelDefinitions {
409408
provider = LLMProvider.OpenAI,
410409
id = "gpt-5-mini",
411410
capabilities = listOf(
412-
LLMCapability.Temperature,
413411
LLMCapability.Schema.JSON.Basic,
414412
LLMCapability.Schema.JSON.Standard,
415413
LLMCapability.Speculation,
@@ -441,7 +439,6 @@ public object OpenAIModels : LLModelDefinitions {
441439
provider = LLMProvider.OpenAI,
442440
id = "gpt-5-nano",
443441
capabilities = listOf(
444-
LLMCapability.Temperature,
445442
LLMCapability.Schema.JSON.Basic,
446443
LLMCapability.Schema.JSON.Standard,
447444
LLMCapability.Speculation,
@@ -473,7 +470,6 @@ public object OpenAIModels : LLModelDefinitions {
473470
id = "gpt-5-codex",
474471
capabilities = listOf(
475472
LLMCapability.Completion,
476-
LLMCapability.Temperature,
477473
LLMCapability.Schema.JSON.Basic,
478474
LLMCapability.Schema.JSON.Standard,
479475
LLMCapability.Speculation,
@@ -531,7 +527,6 @@ public object OpenAIModels : LLModelDefinitions {
531527
id = "gpt-5.1",
532528
capabilities = listOf(
533529
LLMCapability.Completion,
534-
LLMCapability.Temperature,
535530
LLMCapability.Schema.JSON.Basic,
536531
LLMCapability.Schema.JSON.Standard,
537532
LLMCapability.Speculation,
@@ -563,7 +558,6 @@ public object OpenAIModels : LLModelDefinitions {
563558
id = "gpt-5.1-codex",
564559
capabilities = listOf(
565560
LLMCapability.Completion,
566-
LLMCapability.Temperature,
567561
LLMCapability.Schema.JSON.Basic,
568562
LLMCapability.Schema.JSON.Standard,
569563
LLMCapability.Speculation,
@@ -595,7 +589,6 @@ public object OpenAIModels : LLModelDefinitions {
595589
id = "gpt-5.2",
596590
capabilities = listOf(
597591
LLMCapability.Completion,
598-
LLMCapability.Temperature,
599592
LLMCapability.Schema.JSON.Basic,
600593
LLMCapability.Schema.JSON.Standard,
601594
LLMCapability.Speculation,
@@ -629,7 +622,6 @@ public object OpenAIModels : LLModelDefinitions {
629622
id = "gpt-5.2-pro",
630623
capabilities = listOf(
631624
LLMCapability.Completion,
632-
LLMCapability.Temperature,
633625
LLMCapability.Speculation,
634626
LLMCapability.Tools,
635627
LLMCapability.ToolChoice,

0 commit comments

Comments
 (0)