Skip to content

Releases: receptron/graphai

2.0.16

17 Jan 21:57

Choose a tag to compare

What's Changed

Full Changelog: 2.0.15...2.0.16

2.0.15

17 Jan 21:56

Choose a tag to compare

What's Changed

Full Changelog: 2.0.14...2.0.15

@graphai/tools_agent@1.0.3

15 Aug 06:08
327b7b2

Choose a tag to compare

What's Changed

Full Changelog: 2.0.14...tools_agent.1.0.3

2.0.14

14 Aug 11:35

Choose a tag to compare

Release note

  • anyInput Evaluation

    • Excluded inputs.params from anyInput checks.
      • Dynamic parameters are no longer included in anyInput to avoid unintended behavior.
  • Transaction Log Improvements

    • Added support for logging namedInputs.
    • Fixed agentId handling: when provided in GOD format, it is now replaced with the actual value at runtime when executing the node.

What's Changed

New Contributors

Full Changelog: 2.0.13...2.0.14

vanilla.2.0.9

11 Aug 01:17

Choose a tag to compare

Release Note

Added the arrayKey parameter to the array merge process, allowing the output array key name to be customized (previously fixed as array). Inputs other than array / item / items are now passed through directly to the output, eliminating the need for an intermediate copyAgent.

Adding new elements to an existing message list

{
  agent: "pushAgent",
  params: { arrayKey: "messages" },
  inputs: {
    array: ":existingMessages",
    items: ":mergedResponse.firstArrayElement",
    metadata: ":combinedMetadata"
  }
}

Added arrayFindFirstExistsAgent, which returns the first element that exists (non-null / non-undefined) from multiple candidate arrays or values. Useful at the end of conditional flows with anyInputs to select the first available data from multiple sources.

{
  agent: "arrayFindFirstExistsAgent",
  anyInput: true,
  inputs: { array: [":textCandidates", ":fallbackResults"] }
}

What's Changed

Full Changelog: e48ffcc...vanilla.2.0.9

2.0.13

19 Jul 20:01

Choose a tag to compare

What's Changed

Full Changelog: 2.0.12...2.0.13

vanilla.2.0.6

19 Jul 05:33

Choose a tag to compare

What's Changed

Full Changelog: vanilla.2.0.5...vanilla.2.0.6

2.0.12

08 Jul 11:51

Choose a tag to compare

Release Note

Added default to propFunction

You can now use the default prop function to set a fallback value when the target property is undefined.

  • If the default value is an integer, the function returns a number.
  • If the value is a string, it returns a string.

Examples:

":foo.bar.default(-123)"  
":foo.bar.default(hello)"

Enhanced Agent Retry Mechanism

Agents can now retry execution if specific fields are missing in the result.
Use repeatUntil.exists to define a required path in the returned object.
The example below retries up to 3 times until .expect.data exists in the result:

{
  "retry": 3,  
  "repeatUntil": {  
    "exists": ".expect.data"  
  }  
}

What's Changed

Full Changelog: 2.0.11...2.0.12

2.0.11

04 Jul 20:37

Choose a tag to compare

Release note

New props function.

Added new string/number props functions: equal is now supported.

inputs: {
  text: ":node1.data.equal(hello)",
  number: ":node1.data.equal(12)",
}

What's Changed

Full Changelog: 2.0.10...2.0.11

@graphai/anthropic_agent@2.0.5

04 Jul 01:53

Choose a tag to compare

Release Note

Added the following parameters to the usage object for compatibility with OpenAI's API:

  • prompt_tokens
  • completion_tokens
  • total_tokens

These fields allow for more standardized tracking of token usage during prompt and completion processing.

What's Changed

Full Changelog: anthropic_agent2.0.4...anthropic_agent2.0.5