vectorvein 0.1.12__tar.gz → 0.1.13__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vectorvein-0.1.12 → vectorvein-0.1.13}/PKG-INFO +1 -1
- {vectorvein-0.1.12 → vectorvein-0.1.13}/pyproject.toml +1 -1
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/base_client.py +6 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/README.md +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/__init__.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/__init__.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/anthropic_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/deepseek_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/gemini_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/groq_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/local_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/minimax_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/mistral_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/moonshot_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/openai_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/openai_compatible_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/qwen_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/utils.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/yi_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/zhipuai_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/settings/__init__.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/types/defaults.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/types/enums.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/types/llm_parameters.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/utilities/media_processing.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/utilities/retry.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/__init__.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/cat.png +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/sample_settings.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/test_chat_prefix.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/test_create_chat_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/test_format_messages.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/test_http_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/test_image_input_chat_client.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/test_stop.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/test_tokens_count.py +0 -0
- {vectorvein-0.1.12 → vectorvein-0.1.13}/tests/test_tool_use_multi_turns.py +0 -0
@@ -52,6 +52,7 @@ class BaseChatClient(ABC):
|
|
52
52
|
max_tokens: int | None = None,
|
53
53
|
tools: list | NotGiven = NOT_GIVEN,
|
54
54
|
tool_choice: str | NotGiven = NOT_GIVEN,
|
55
|
+
**kwargs,
|
55
56
|
) -> ChatCompletionMessage | Generator[ChatCompletionDeltaMessage, Any, None]:
|
56
57
|
pass
|
57
58
|
|
@@ -63,6 +64,7 @@ class BaseChatClient(ABC):
|
|
63
64
|
max_tokens: int | None = None,
|
64
65
|
tools: list | NotGiven = NOT_GIVEN,
|
65
66
|
tool_choice: str | NotGiven = NOT_GIVEN,
|
67
|
+
**kwargs,
|
66
68
|
) -> Generator[ChatCompletionDeltaMessage, Any, None]:
|
67
69
|
return self.create_completion(
|
68
70
|
messages=messages,
|
@@ -72,6 +74,7 @@ class BaseChatClient(ABC):
|
|
72
74
|
max_tokens=max_tokens,
|
73
75
|
tools=tools,
|
74
76
|
tool_choice=tool_choice,
|
77
|
+
**kwargs,
|
75
78
|
)
|
76
79
|
|
77
80
|
|
@@ -115,6 +118,7 @@ class BaseAsyncChatClient(ABC):
|
|
115
118
|
max_tokens: int | None = None,
|
116
119
|
tools: list | NotGiven = NOT_GIVEN,
|
117
120
|
tool_choice: str | NotGiven = NOT_GIVEN,
|
121
|
+
**kwargs,
|
118
122
|
) -> ChatCompletionMessage | AsyncGenerator[ChatCompletionDeltaMessage, None]:
|
119
123
|
pass
|
120
124
|
|
@@ -126,6 +130,7 @@ class BaseAsyncChatClient(ABC):
|
|
126
130
|
max_tokens: int | None = None,
|
127
131
|
tools: list | NotGiven = NOT_GIVEN,
|
128
132
|
tool_choice: str | NotGiven = NOT_GIVEN,
|
133
|
+
**kwargs,
|
129
134
|
) -> AsyncGenerator[ChatCompletionDeltaMessage, None]:
|
130
135
|
return await self.create_completion(
|
131
136
|
messages=messages,
|
@@ -135,4 +140,5 @@ class BaseAsyncChatClient(ABC):
|
|
135
140
|
max_tokens=max_tokens,
|
136
141
|
tools=tools,
|
137
142
|
tool_choice=tool_choice,
|
143
|
+
**kwargs,
|
138
144
|
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{vectorvein-0.1.12 → vectorvein-0.1.13}/src/vectorvein/chat_clients/openai_compatible_client.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|