Agentdojo

Latest version: v0.1.15

Safety actively analyzes 662773 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.15

Features

- None

Breaking Changes

- None

Bug Fixes

- Fix the security checks for Workspace's injections tasks 4 and 5. The checks were not precise
and injection tasks 4 would fail in some edge cases even if the model was executing it correctly.

0.1.14

Features

None

Breaking Changes

- `Ellipsis` is not supported anymore as a type for function calls. This was done
to simplify the code as any value can be passed as an argument to a function call,
since is going to be discarded by the utility/security checks anyways.

Bug Fixes

- Fix issue with `FunctionCall` not being serializable when saving to JSON. This issue
was introuced in v0.1.13 when the `FunctionCall` object was changed from a `TypedDict`

0.1.13

Features

- Add support for nested function calls in the [`FunctionCall`][agentdojo.functions_runtime.FunctionCall] object.
This allows for more complex function calls: if any of the `args` in a [`FunctionCall`][agentdojo.functions_runtime.FunctionCall]
object is another [`FunctionCall`][agentdojo.functions_runtime.FunctionCall], the function call will be executed
recursively.

Breaking Changes

None

Bug Fixes

None

0.1.12

Features

None

Breaking Changes

- Change [`FunctionCall`][agentdojo.functions_runtime.FunctionCall] from a
[`TypedDict`][typing.TypedDict] to a Pydantic [`BaseModel`][pydantic.BaseModel].
This was done to allow for distinguishing function calls at runtime (in preparation)
for supporting nested function calls. This affects users who are implementing new LLMs,
new runtimes, and pipeline components that use function calls. To update your code,
you will need to access the [`function`][agentdojo.functions_runtime.FunctionCall.function]
and [`args`][agentdojo.functions_runtime.FunctionCall.args] attributes of the
[`FunctionCall`][agentdojo.functions_runtime.FunctionCall] object instead of using
dictionary access.

Bug Fixes

None

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.