Skip to content

@receptron/graphai_express 3.0.1

Choose a tag to compare

@isamu isamu released this 18 Jun 05:50

Realse note graphai_express 3.0.1

✨ New Features
config: ConfigDataDictionary is now supported in the following functions:

⚠️ Breaking Change
The following functions now include a new config parameter.
Please update your function calls if you're using positional arguments.

The following function shows the before and after:

export const agentDispatcher = ( agentDictionary, agentFilters, streamChunkCallback, contentCallback )
export const agentDispatcher = ( agentDictionary, agentFilters, streamChunkCallback, config, contentCallback )

export const agentRunner = ( agentDictionary, agentFilters, streamChunkCallback, contentCallback )
export const agentRunner = ( agentDictionary, agentFilters, streamChunkCallback, config, contentCallback )

export const nonStreamAgentDispatcher = ( agentDictionary, agentFilters, isDispatch )
export const nonStreamAgentDispatcher = ( agentDictionary, agentFilters, isDispatch, config )

export const streamAgentDispatcher = ( agentDictionary, agentFilters, isDispatch, streamChunkCallback, contentCallback, endOfStreamDelimiter )
export const streamAgentDispatcher = ( agentDictionary, agentFilters, isDispatch, streamChunkCallback, config, contentCallback, endOfStreamDelimiter )

What's Changed

Full Changelog: graphai_express_2.0.0...graphai_express_3.0.1