Skip to content

Releases: neuron-core/neuron-ai

2.2.11

22 Sep 07:28

Choose a tag to compare

MySQL/PGSQL Toolkits security fix

The tools inside the database related toolkits now ask the model to provide a parametrized query, and a list of parameters so the query can be properly prepared to avoid sql injection.

Fix ObjectProperty constructor

The constructor has a nullable class property but the class_exists check do not accept null raising an exception. The property now check if the class property is properly filled before the calling class_exists.

Fix #300

Update GeminiEmbeddingsProvider

PR #303 from @zliebersbach

2.2.10

20 Sep 23:17

Choose a tag to compare

MySQL/PGSQL Toolkits security fix

The tool inside the database related toolkits now ask the model to provide a parametrized query, and a listo of parameters so the query can be properly prepared to avoid sql injection.

2.2.9

19 Sep 17:12

Choose a tag to compare

fix mcp streamable http transport

2.2.8

19 Sep 15:22

Choose a tag to compare

fix mcp streamable http transport

2.2.7

17 Sep 07:54

Choose a tag to compare

Typed Workflow State

This release supports the ability to use custom workflow state class, so you can work with strictly typed properties.

Create your state class extending the default WorkflowState:

use NeuronAI\Workflow\WorkflowState;

class CustomState extends WorkflowState
{
    public string $custom = 'custom property';
}

Use this custom state as input type of the nodes __invoke mthod:

class MyNode extends Node 
{
    public function __invoke(StartEvent $event, CustomState $state): StopEvent
    {
        echo $state->custom;

        return new StopEvent();
    }
}

Finally start the Workflow passing the custom state instance. It will be propagated through the nodes:

$workflow = Workflow::make(new CustomState())->addNode($node);
$state = $workflow->start()->getResult();

2.2.6

16 Sep 20:36

Choose a tag to compare

Merge branch 'main' into 2.x

2.2.5

16 Sep 20:05

Choose a tag to compare

monitoring

2.2.4

16 Sep 19:20

Choose a tag to compare

monitoring

2.2.3

13 Sep 10:13

Choose a tag to compare

fix tool max tries in structured output

2.2.2

12 Sep 16:12

Choose a tag to compare

optimize retrieval