kotharcomputing 0.85.0__tar.gz → 0.87.0__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.
- {kotharcomputing-0.85.0/src/kotharcomputing.egg-info → kotharcomputing-0.87.0}/PKG-INFO +1 -1
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/pyproject.toml +1 -1
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/__init__.py +0 -2
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/ai.py +0 -26
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0/src/kotharcomputing.egg-info}/PKG-INFO +1 -1
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/tests/test_public_api.py +0 -1
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/LICENSE +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/README.md +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/setup.cfg +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/agents.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/aleph_language_server.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/api_tokens.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/client.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/common.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/credits.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/errors.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/executions.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/fetch.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/files.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/jobs.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/py.typed +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/runtimes.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/service_prices.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/subscribe_user.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/subscribe_workspace.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/subscriptions.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/users.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/workspaces.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing.egg-info/SOURCES.txt +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing.egg-info/dependency_links.txt +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing.egg-info/requires.txt +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing.egg-info/top_level.txt +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/tests/test_fetch_auth_headers.py +0 -0
- {kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/tests/test_fetch_url_building.py +0 -0
|
@@ -51,7 +51,6 @@ from .ai import (
|
|
|
51
51
|
AIChatToolCallFunction,
|
|
52
52
|
AIChatToolDescription,
|
|
53
53
|
AIChatToolDescriptionFunction,
|
|
54
|
-
AIModelInfo,
|
|
55
54
|
)
|
|
56
55
|
from .api_tokens import (
|
|
57
56
|
ApiToken,
|
|
@@ -178,7 +177,6 @@ __all__ = [
|
|
|
178
177
|
"AIChatToolCallFunction",
|
|
179
178
|
"AIChatToolDescription",
|
|
180
179
|
"AIChatToolDescriptionFunction",
|
|
181
|
-
"AIModelInfo",
|
|
182
180
|
# API Tokens
|
|
183
181
|
"ApiToken",
|
|
184
182
|
"ApiTokenPermissionAction",
|
|
@@ -139,12 +139,6 @@ class AIChatsPage(TypedDict):
|
|
|
139
139
|
next: NotRequired[str]
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
class AIModelInfo(TypedDict):
|
|
143
|
-
id: str
|
|
144
|
-
name: str
|
|
145
|
-
default: NotRequired[bool]
|
|
146
|
-
|
|
147
|
-
|
|
148
142
|
class AIChatMessageUserCreate(TypedDict):
|
|
149
143
|
role: Literal["user"]
|
|
150
144
|
content: list[AIChatMessageUserContentEdition]
|
|
@@ -179,7 +173,6 @@ class AIChatByIdClient:
|
|
|
179
173
|
*,
|
|
180
174
|
message: AIChatMessageUserAppend,
|
|
181
175
|
on: Callable[[AIChatMessage | AIChatMessageWithStreaming], None],
|
|
182
|
-
model: str | None = None,
|
|
183
176
|
tools: list[AIChatToolDescription] | None = None,
|
|
184
177
|
stream: bool | None = None,
|
|
185
178
|
) -> None:
|
|
@@ -189,7 +182,6 @@ class AIChatByIdClient:
|
|
|
189
182
|
path_params={"workspaceId": self._workspace_id, "chatId": self._chat_id},
|
|
190
183
|
json_data={
|
|
191
184
|
"message": message,
|
|
192
|
-
"model": model,
|
|
193
185
|
"tools": tools,
|
|
194
186
|
"stream": stream,
|
|
195
187
|
},
|
|
@@ -224,7 +216,6 @@ class AIChatsClient:
|
|
|
224
216
|
*,
|
|
225
217
|
message: AIChatMessageUserCreate,
|
|
226
218
|
on: Callable[[AIChatMessage | AIChatMessageWithStreaming], None],
|
|
227
|
-
model: str | None = None,
|
|
228
219
|
tools: list[AIChatToolDescription] | None = None,
|
|
229
220
|
stream: bool | None = None,
|
|
230
221
|
) -> None:
|
|
@@ -234,7 +225,6 @@ class AIChatsClient:
|
|
|
234
225
|
path_params={"workspaceId": self._workspace_id},
|
|
235
226
|
json_data={
|
|
236
227
|
"message": message,
|
|
237
|
-
"model": model,
|
|
238
228
|
"tools": tools,
|
|
239
229
|
"stream": stream,
|
|
240
230
|
},
|
|
@@ -245,22 +235,6 @@ class AIChatsClient:
|
|
|
245
235
|
return AIChatByIdClient(self._transport, self._workspace_id, chat_id)
|
|
246
236
|
|
|
247
237
|
|
|
248
|
-
class AIModelsClient:
|
|
249
|
-
def __init__(self, transport: ApiTransport, workspace_id: str) -> None:
|
|
250
|
-
self._transport = transport
|
|
251
|
-
self._workspace_id = workspace_id
|
|
252
|
-
|
|
253
|
-
def list(self) -> list[AIModelInfo]:
|
|
254
|
-
return cast(
|
|
255
|
-
list[AIModelInfo],
|
|
256
|
-
self._transport.get_json(
|
|
257
|
-
"v1/workspaces/:workspaceId/ai/models",
|
|
258
|
-
path_params={"workspaceId": self._workspace_id},
|
|
259
|
-
),
|
|
260
|
-
)
|
|
261
|
-
|
|
262
|
-
|
|
263
238
|
class WorkspaceAIClient:
|
|
264
239
|
def __init__(self, transport: ApiTransport, workspace_id: str) -> None:
|
|
265
240
|
self.chats = AIChatsClient(transport, workspace_id)
|
|
266
|
-
self.models = AIModelsClient(transport, workspace_id)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/aleph_language_server.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
|
{kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing/subscribe_workspace.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{kotharcomputing-0.85.0 → kotharcomputing-0.87.0}/src/kotharcomputing.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|