Skip to content

Commit 6213a59

Browse files
committed
feat: ark_model removes the dependency on litellm and supports multimodal input
1 parent 4c42266 commit 6213a59

File tree

6 files changed

+660
-602
lines changed

6 files changed

+660
-602
lines changed

veadk/agent.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
from veadk.tracing.base_tracer import BaseTracer
5555
from veadk.utils.logger import get_logger
5656
from veadk.utils.patches import patch_asyncio, patch_tracer
57-
from veadk.utils.misc import check_litellm_version
5857
from veadk.version import VERSION
5958

6059
patch_tracer()
@@ -171,9 +170,6 @@ def model_post_init(self, __context: Any) -> None:
171170

172171
if not self.model:
173172
if self.enable_responses:
174-
min_version = "1.79.3"
175-
check_litellm_version(min_version)
176-
177173
from veadk.models.ark_llm import ArkLlm
178174

179175
self.model = ArkLlm(

veadk/memory/short_term_memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from veadk.memory.short_term_memory_backends.sqlite_backend import (
3333
SQLiteSTMBackend,
3434
)
35-
from veadk.models.ark_transform import build_cache_metadata
35+
from veadk.models.ark_llm import build_cache_metadata
3636
from veadk.utils.logger import get_logger
3737

3838
logger = get_logger(__name__)

veadk/models/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.

0 commit comments

Comments
 (0)