Agentdojo

Latest version: v0.1.14

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

Scan your dependencies

Page 1 of 3

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


**Full Changelog**: https://github.com/ethz-spylab/agentdojo/compare/v0.1.12...v0.1.13

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

0.1.11

What's Changed
* Add missing travel suite results by dedeswim in https://github.com/ethz-spylab/agentdojo/pull/9
* Add gpt 4o mini by dedeswim in https://github.com/ethz-spylab/agentdojo/pull/10


**Full Changelog**: https://github.com/ethz-spylab/agentdojo/compare/v0.1.10...v0.1.11

0.1.10

What's Changed
* Fix issue with Gemini models, re-run travel suite on them by dedeswim in https://github.com/ethz-spylab/agentdojo/pull/8


**Full Changelog**: https://github.com/ethz-spylab/agentdojo/compare/v0.1.9...v0.1.10

0.1.9

What's Changed
* Add register attack to all attacks by dedeswim in https://github.com/ethz-spylab/agentdojo/pull/6
* Fix travel suite by dedeswim in https://github.com/ethz-spylab/agentdojo/pull/7: this introduces a new benchmark minor version


**Full Changelog**: https://github.com/ethz-spylab/agentdojo/compare/v0.1.8...v0.1.9

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.