mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
* Add Volcengine responses adapter * fix llms/volcengine/responses/transformation.py:507:9: F841 Local variable `origin` is assigned to but never used fix llms/volcengine/responses/transformation.py:95: error: Argument "headers" to "VolcEngineError" has incompatible type add more supported optional params removed redundant manual logging/utils fallbacks so litellm/__init__.py uses the registry only.
26 lines
726 B
Python
26 lines
726 B
Python
"""
|
|
Volcengine LLM Provider
|
|
Support for Volcengine (ByteDance) chat, embedding, and responses models.
|
|
"""
|
|
|
|
from .chat.transformation import VolcEngineChatConfig
|
|
from .common_utils import (
|
|
VolcEngineError,
|
|
get_volcengine_base_url,
|
|
get_volcengine_headers,
|
|
)
|
|
from .embedding import VolcEngineEmbeddingConfig
|
|
from .responses.transformation import VolcEngineResponsesAPIConfig
|
|
|
|
# For backward compatibility, keep the old class name
|
|
VolcEngineConfig = VolcEngineChatConfig
|
|
|
|
__all__ = [
|
|
"VolcEngineChatConfig",
|
|
"VolcEngineConfig", # backward compatibility
|
|
"VolcEngineEmbeddingConfig",
|
|
"VolcEngineResponsesAPIConfig",
|
|
"VolcEngineError",
|
|
"get_volcengine_base_url",
|
|
"get_volcengine_headers",
|
|
]
|