Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ The package has the 17 tools of the hosted MCP server at API 1.20.3. It had 15.
- The local guide has the sections `one_time` and `going_live`.
- Tool descriptions and annotations follow the hosted server. `cancel_fax` is now marked idempotent.

The SDK dependency is `faxforagents>=0.2.3,<0.7`. It ended below 0.5 and shut out SDK 0.6.0.
The card tools need SDK 0.4.1. The quote options and the list filter need 0.4.0.
With an older SDK those calls answer `sdk_upgrade_required` and send no request.
The tests pass against SDK 0.2.3, 0.4.0, 0.5.0 and 0.6.0. The lock file uses 0.6.0.
The SDK dependency is `faxforagents>=0.11.2,<0.12`, so this release needs SDK 0.11.2 or a later 0.11 release.
0.1.0 accepted only SDK versions below 0.3, which shut out the current SDK.
SDK 0.11.2 has every call and argument the tools use.
If an older SDK is installed anyway, those calls answer `sdk_upgrade_required` and send no request.
The tests pass against SDK 0.11.2, and the lock file uses it.

## 0.1.0

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ uv sync

The distribution is `faxforagents-haystack`. The import is `faxforagents_haystack`.
Python 3.10 or later and Haystack `>=2.31.1,<3` are required.
The SDK dependency is `faxforagents>=0.2.3,<0.7`.
The SDK dependency is `faxforagents>=0.11.2,<0.12`.

## Offline Agent example

Expand Down Expand Up @@ -194,9 +194,8 @@ A Haystack `Tool` has no annotation field, so the shipped `tool-definitions.json

`quote_fax` takes `quality`, `sender_name`, `from_number` and `delete_after_send`.
`list_faxes` takes `idempotency_key` as a filter that finds the send made with that key.
Those arguments and the two card tools need a newer SDK than the lowest one this package accepts.
The quote options and the filter need `faxforagents` 0.4.0. The card tools need 0.4.1.
With an older SDK the tool answers `sdk_upgrade_required` and sends no request.
Every SDK version this package accepts has those arguments and the two card calls.
If an older SDK is installed anyway, the tool answers `sdk_upgrade_required` and sends no request.

## Card payment

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [
]
dependencies = [
"haystack-ai>=2.31.1,<3",
"faxforagents>=0.2.3,<0.7",
"faxforagents>=0.11.2,<0.12",
"pydantic>=2.7.4,<3",
]

Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading