Commit 4342283
committed
fix(orchestration): Correctly propagate model selection options to GMI
The AgentOSOrchestrator was incorrectly assigning model selection options from the AgentOSInput to metadata.processingOptions instead of the expected metadata.options when constructing
the GMITurnInput.
This caused the GMI to fail with a GMIError: Could not determine modelId for LLM call as it could not find the specified model preferences.
This change corrects the property name to options within the gmiInputMetadata object in constructGMITurnInput, ensuring that model selection parameters like preferredModelId are
correctly propagated to the GMI for processing.1 parent b955fd1 commit 4342283
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
873 | | - | |
| 873 | + | |
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
| |||
0 commit comments