agentflow4j
agentflow4j copied to clipboard
Add an OpenAI sample to spring-agent-flow-samples
spring-agent-flow-samples only demonstrates the framework with Mistral. A parallel OpenAI sample shows that the framework is provider-agnostic and broadens the audience.
Acceptance criteria
- [ ]
spring-ai-starter-model-openaiadded as a sample-scoped dependency - [ ]
OpenAiCoordination.javamirroring the structure ofMultiAgentCoordination.java - [ ] Runnable via
mvn -pl spring-agent-flow-samples exec:java -Dexec.mainClass=... - [ ] README sample table updated with the new entry
Notes
Use the OPENAI_API_KEY environment variable; do not hardcode keys.