Skip to content

3.2.0

Choose a tag to compare

@ilvalerione ilvalerione released this 12 Mar 15:23
· 391 commits to 3.x since this release

Introducing ZAI provider (GLM-5)

This release adds the support for a new AI provider: ZAI, the company behing the awesome open source GLM models.

You can now power your agentic systems with models like GLM-5:

use NeuronAI\Providers\ZAI\ZAI;

class MyAgent extends Agent
{
    protected function provider(): AIProviderInterface
    {
        return new ZAI(
            key: 'ZAI_API_KEY',
            model: 'glm-5',
        );
    }
}

It supports chat, streaming, structured output, and vision (file, images, audio, video), for a full agentic experience.