Some checks failed
Pre-commit / run (ubuntu-latest) (push) Has been cancelled
Deploy Sphinx documentation to Pages / build_en (ubuntu-latest, 3.10) (push) Has been cancelled
Deploy Sphinx documentation to Pages / build_zh (ubuntu-latest, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (macos-15, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (macos-15, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (macos-15, 3.12) (push) Has been cancelled
Python Unittest Coverage / test (ubuntu-latest, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (ubuntu-latest, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (ubuntu-latest, 3.12) (push) Has been cancelled
Python Unittest Coverage / test (windows-latest, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (windows-latest, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (windows-latest, 3.12) (push) Has been cancelled
49 lines
1.2 KiB
Python
49 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
"""The formatter module in agentscope."""
|
|
|
|
from ._formatter_base import FormatterBase
|
|
from ._truncated_formatter_base import TruncatedFormatterBase
|
|
from ._dashscope_formatter import (
|
|
DashScopeChatFormatter,
|
|
DashScopeMultiAgentFormatter,
|
|
)
|
|
from ._anthropic_formatter import (
|
|
AnthropicChatFormatter,
|
|
AnthropicMultiAgentFormatter,
|
|
)
|
|
from ._openai_formatter import (
|
|
OpenAIChatFormatter,
|
|
OpenAIMultiAgentFormatter,
|
|
)
|
|
from ._gemini_formatter import (
|
|
GeminiChatFormatter,
|
|
GeminiMultiAgentFormatter,
|
|
)
|
|
from ._ollama_formatter import (
|
|
OllamaChatFormatter,
|
|
OllamaMultiAgentFormatter,
|
|
)
|
|
from ._deepseek_formatter import (
|
|
DeepSeekChatFormatter,
|
|
DeepSeekMultiAgentFormatter,
|
|
)
|
|
from ._a2a_formatter import A2AChatFormatter
|
|
|
|
__all__ = [
|
|
"FormatterBase",
|
|
"TruncatedFormatterBase",
|
|
"DashScopeChatFormatter",
|
|
"DashScopeMultiAgentFormatter",
|
|
"OpenAIChatFormatter",
|
|
"OpenAIMultiAgentFormatter",
|
|
"AnthropicChatFormatter",
|
|
"AnthropicMultiAgentFormatter",
|
|
"GeminiChatFormatter",
|
|
"GeminiMultiAgentFormatter",
|
|
"OllamaChatFormatter",
|
|
"OllamaMultiAgentFormatter",
|
|
"DeepSeekChatFormatter",
|
|
"DeepSeekMultiAgentFormatter",
|
|
"A2AChatFormatter",
|
|
]
|