switch to Claude Agent SDK

This commit is contained in:
jfmonty2 committed 2026-11-03 08:56:01 -05:00
1 parent d023805bf1
commit acd9163407
8 files changed
+612 -132

No files matched your search

+6 -6
View File
@@ -4,7 +4,7 @@ from unittest.mock import MagicMock
import pytest
from ynab import TransactionFlagColor
from catnab.ai import ItemClassification
from catnab.ai import NamedClassification
import catnab
from catnab import Context, TxCategory
from catnab.amazon import AmazonAccount
@@ -110,7 +110,7 @@ def test_get_tx_categories(monkeypatch):
)
item_details={
'An example item': ItemClassification(
'An example item': NamedClassification(
name='Example item',
category='Example category',
description='example',
@@ -143,12 +143,12 @@ def test_get_categories_multi_items(monkeypatch):
)
item_details={
'An example item': ItemClassification(
'An example item': NamedClassification(
name='Example item 1',
category='Example category',
description='example',
),
'Another example': ItemClassification(
'Another example': NamedClassification(
name='Example item 2',
category='Example category',
description='second example',
@@ -181,12 +181,12 @@ def test_get_categories_multi_categories(monkeypatch):
)
item_details={
'An example item': ItemClassification(
'An example item': NamedClassification(
name='Example item 1',
category='Example category',
description='example',
),
'Another example': ItemClassification(
'Another example': NamedClassification(
name='Example item 2',
category='Other category',
description='second example',