Skip to content

Commit 831df42

Browse files
committed
fix: adapt OpenAI client for AI Foundry compatibility
Modify API parameter handling in OpenAILLM to properly support AI Foundry endpoints: - Add special case for AI Foundry endpoints - Remove unsupported parameters for o-series models - Update URL detection for Azure endpoints - Improve parameter cleaning for different API variants
1 parent 2b02ea7 commit 831df42

File tree

1 file changed

+5
-0
lines changed
  • examples/trading_volume_optimization_orchestrator

1 file changed

+5
-0
lines changed

examples/trading_volume_optimization_orchestrator/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ python initial_program.py
4444
4545
python evaluator.py initial_program.py
4646
# Scores the candidate on fresh market scenarios
47+
48+
49+
python openevolve-run.py examples/trading_volume_optimization_orchestrator/initial_program.py examples/trading_volume_optimization_orchestrator/evaluator.py --iterations 20 --config examples/trading_volume_optimization_orchestrator/config.yaml
50+
# Runs the candidate with OpenEvolve orchestrator
51+
4752
```
4853

4954
Typical console output:

0 commit comments

Comments
 (0)