Skip to content

Commit d5d3727

Browse files
SStasclaude
andcommitted
Fix ruff lint: remove unused imports (ctypes, PayloadType)
Unused after OutputType/PayloadType split and think() dedup refactor. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 394aac1 commit d5d3727

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

src/avp/connectors/llamacpp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,6 @@ def think(
224224
Returns:
225225
AVPContext containing the enriched hidden state and live context.
226226
"""
227-
import ctypes
228-
229227
import numpy as np
230228
from llama_cpp import llama_cpp as lc
231229

src/avp/context.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ def to_bytes(
7777
AVPMetadata,
7878
CommunicationMode,
7979
DataType,
80-
PayloadType,
8180
)
8281
from .codec import encode_kv_cache
8382
from .kv_cache import serialize_kv_cache

src/avp/easy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from .results import InspectResult
3838

3939
from .results import GenerateResult, ThinkResult
40-
from .types import OutputType, PayloadType
40+
from .types import OutputType
4141

4242
logger = logging.getLogger(__name__)
4343

0 commit comments

Comments
 (0)