Laravel AI
github.com/laravel/aiOfficial Laravel first-party package for building AI agents, chats, embeddings, and structured responses. Six merged pull requests improving exception handling, type safety, file uploads, and test assertions — several co-authored with Taylor Otwell.
- #157Add return and parameter typesTyped service provider, manager, agent responses, and fluent fakes for stronger static analysis.
- #160Document thrown exceptionsAdded @throws annotations on PrismException conversion and AI provider getters.
- #161Fix missing exception handlingWrapped Prism embeddings calls so failures surface as consistent AiExceptions.
- #126Fix queued agent assertion crashesGuarded undefined array keys in assertAgentWasQueued / assertAgentNotQueued.
- #106Fix PrismException::toAiException() crashNull-safe tool-failure handling plus unit tests for every conversion branch.
- #108Fix fromUpload() ignoring $mimeImage and Document uploads now honor the optional MIME override parameter.
