

“Neuron AI 是一个用于在 PHP 中构建 AI Agent 的框架,其 v3.0.0 版本已发布 🚀。
SchemaProperty 新增 min、max、minLength、maxLength、anyOf 等约束。NeuronAI\Agent,SystemPrompt 移到 NeuronAI\Agent\SystemPrompt。chatAsync()**:迁移到新的异步模式(详见 /agent/async)。getContent() 只返回文本块(跳过媒体)。TextChunk、ReasoningChunk、ToolCallChunk、ToolResultChunk。InterruptRequest。data 重命名为 interrupt。\SplSubject / \SplObserver,改用新的 ObserverInterface(支持 Workflow、Node、Middleware 级别的事件监听)。