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
4 changes: 1 addition & 3 deletions src/agentscope/model/_model_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
from dataclasses import dataclass, field
from typing import Literal, Sequence

from anthropic.types import ThinkingBlock

from ._model_usage import ChatUsage
from .._utils._common import _get_timestamp
from .._utils._mixin import DictMixin
from ..message import TextBlock, ToolUseBlock
from ..message import TextBlock, ToolUseBlock, ThinkingBlock
from ..types import JSONSerializableObject


Expand Down
2 changes: 1 addition & 1 deletion tests/token_huggingface_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def test_huggingface_token_counter(self) -> None:
"""Test the HuggingFace token counter."""
counter = HuggingFaceTokenCounter(
pretrained_model_name_or_path="Qwen/Qwen3-8B",
use_mirror=True,
use_mirror=False,
)

res = await counter.count(
Expand Down
Loading