agent-lab-sdk 0.1.19__tar.gz → 0.1.21__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.
Potentially problematic release.
This version of agent-lab-sdk might be problematic. Click here for more details.
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/PKG-INFO +17 -11
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/README.md +16 -10
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/schema/input_types.py +50 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk.egg-info/PKG-INFO +17 -11
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/pyproject.toml +1 -1
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/LICENSE +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/__init__.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/langgraph/checkpoint/__init__.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/langgraph/checkpoint/agw_saver.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/llm/__init__.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/llm/agw_token_manager.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/llm/gigachat_token_manager.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/llm/llm.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/llm/throttled.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/metrics/__init__.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/metrics/metrics.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/schema/__init__.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/schema/log_message.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/storage/__init__.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/storage/storage.py +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk.egg-info/SOURCES.txt +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk.egg-info/dependency_links.txt +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk.egg-info/requires.txt +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk.egg-info/top_level.txt +0 -0
- {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-lab-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.21
|
|
4
4
|
Summary: SDK для работы с Agent Lab
|
|
5
5
|
Author-email: Andrew Ohurtsov <andermirik@yandex.com>
|
|
6
6
|
License: Proprietary and Confidential — All Rights Reserved
|
|
@@ -37,6 +37,10 @@ Dynamic: license-file
|
|
|
37
37
|
pip install agent_lab_sdk
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
## Список изменений
|
|
41
|
+
|
|
42
|
+
Ознакомиться со списком изменений между версиями agent-lab-sdk можно по [ссылке](/CHANGELOG.md)
|
|
43
|
+
|
|
40
44
|
## Содержание
|
|
41
45
|
|
|
42
46
|
1. [Модуль `agent_lab_sdk.llm`](#1-модуль-agent_lab_sdkllm)
|
|
@@ -297,16 +301,18 @@ class AgentState(BaseModel):
|
|
|
297
301
|
|
|
298
302
|
#### Доступные фабричные функции
|
|
299
303
|
|
|
300
|
-
| Тип
|
|
301
|
-
|
|
302
|
-
| `MainInput`
|
|
303
|
-
| `StringInput`
|
|
304
|
-
| `StringArrayInput`
|
|
305
|
-
| `
|
|
306
|
-
| `
|
|
307
|
-
| `
|
|
308
|
-
| `
|
|
309
|
-
| `
|
|
304
|
+
| Тип | Описание | Основные параметры |
|
|
305
|
+
|--------------------------|-----------------------------------|----------------------------------------------------------|
|
|
306
|
+
| `MainInput` | Основное поле ввода | `placeholder` |
|
|
307
|
+
| `StringInput` | Текстовое поле | `default`, `title`, `description`, `hidden` |
|
|
308
|
+
| `StringArrayInput` | Массив строк | `placeholder`, `title`, `description`, `group`, `hidden` |
|
|
309
|
+
| `StringArrayInputInline` | Массив строк в одной строке ввода | `placeholder`, `title`, `description`, `group`, `hidden` |
|
|
310
|
+
| `NumberInput` | Числовое поле | `default`, `title`, `description`, `hidden` |
|
|
311
|
+
| `SelectInput` | Выпадающий список | `items`, `title`, `group`, `default`, `hidden` |
|
|
312
|
+
| `CheckboxInput` | Чекбокс | `title`, `group`, `description`, `default`, `hidden` |
|
|
313
|
+
| `SwitchInput` | Switch | `title`, `group`, `description`, `default`, `hidden` |
|
|
314
|
+
| `FileInput` | Загрузка одного файла | `title`, `file_extensions`, `group`, `hidden` |
|
|
315
|
+
| `FilesInput` | Загрузка нескольких файлов | `title`, `file_extensions`, `group`, `hidden` |
|
|
310
316
|
|
|
311
317
|
#### Группировка полей
|
|
312
318
|
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
pip install agent_lab_sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
## Список изменений
|
|
12
|
+
|
|
13
|
+
Ознакомиться со списком изменений между версиями agent-lab-sdk можно по [ссылке](/CHANGELOG.md)
|
|
14
|
+
|
|
11
15
|
## Содержание
|
|
12
16
|
|
|
13
17
|
1. [Модуль `agent_lab_sdk.llm`](#1-модуль-agent_lab_sdkllm)
|
|
@@ -268,16 +272,18 @@ class AgentState(BaseModel):
|
|
|
268
272
|
|
|
269
273
|
#### Доступные фабричные функции
|
|
270
274
|
|
|
271
|
-
| Тип
|
|
272
|
-
|
|
273
|
-
| `MainInput`
|
|
274
|
-
| `StringInput`
|
|
275
|
-
| `StringArrayInput`
|
|
276
|
-
| `
|
|
277
|
-
| `
|
|
278
|
-
| `
|
|
279
|
-
| `
|
|
280
|
-
| `
|
|
275
|
+
| Тип | Описание | Основные параметры |
|
|
276
|
+
|--------------------------|-----------------------------------|----------------------------------------------------------|
|
|
277
|
+
| `MainInput` | Основное поле ввода | `placeholder` |
|
|
278
|
+
| `StringInput` | Текстовое поле | `default`, `title`, `description`, `hidden` |
|
|
279
|
+
| `StringArrayInput` | Массив строк | `placeholder`, `title`, `description`, `group`, `hidden` |
|
|
280
|
+
| `StringArrayInputInline` | Массив строк в одной строке ввода | `placeholder`, `title`, `description`, `group`, `hidden` |
|
|
281
|
+
| `NumberInput` | Числовое поле | `default`, `title`, `description`, `hidden` |
|
|
282
|
+
| `SelectInput` | Выпадающий список | `items`, `title`, `group`, `default`, `hidden` |
|
|
283
|
+
| `CheckboxInput` | Чекбокс | `title`, `group`, `description`, `default`, `hidden` |
|
|
284
|
+
| `SwitchInput` | Switch | `title`, `group`, `description`, `default`, `hidden` |
|
|
285
|
+
| `FileInput` | Загрузка одного файла | `title`, `file_extensions`, `group`, `hidden` |
|
|
286
|
+
| `FilesInput` | Загрузка нескольких файлов | `title`, `file_extensions`, `group`, `hidden` |
|
|
281
287
|
|
|
282
288
|
#### Группировка полей
|
|
283
289
|
|
|
@@ -52,6 +52,31 @@ def StringArrayInput(placeholder: str | None = None, title: str | None = None, d
|
|
|
52
52
|
group: Group name for organizing inputs in the UI
|
|
53
53
|
hidden: Whether the input should be hidden in the UI
|
|
54
54
|
|
|
55
|
+
Returns:
|
|
56
|
+
Type annotation for string array input field
|
|
57
|
+
"""
|
|
58
|
+
return WithJsonSchema({
|
|
59
|
+
"type": "string[]",
|
|
60
|
+
"placeholder": placeholder,
|
|
61
|
+
"title": title,
|
|
62
|
+
"description": description,
|
|
63
|
+
"group": group,
|
|
64
|
+
"hidden": hidden,
|
|
65
|
+
})
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def StringArrayInputInline(placeholder: str | None = None, title: str | None = None, description: str | None = None,
|
|
69
|
+
group: str | None = None, hidden: bool | None = False) -> type:
|
|
70
|
+
"""
|
|
71
|
+
Factory function for creating a string array input inline type.
|
|
72
|
+
|
|
73
|
+
Args:
|
|
74
|
+
placeholder: Placeholder text for the input field
|
|
75
|
+
title: Title for the string array input
|
|
76
|
+
description: Description text for the string array input
|
|
77
|
+
group: Group name for organizing inputs in the UI
|
|
78
|
+
hidden: Whether the input should be hidden in the UI
|
|
79
|
+
|
|
55
80
|
Returns:
|
|
56
81
|
Type annotation for string array input field
|
|
57
82
|
"""
|
|
@@ -149,6 +174,31 @@ def CheckboxInput(title: str | None = None, group: str | None = None, descriptio
|
|
|
149
174
|
})
|
|
150
175
|
|
|
151
176
|
|
|
177
|
+
def SwitchInput(title: str | None = None, group: str | None = None, description: str | None = None,
|
|
178
|
+
default: bool | None = False, hidden: bool | None = False) -> type:
|
|
179
|
+
"""
|
|
180
|
+
Factory function for creating a switch input type.
|
|
181
|
+
|
|
182
|
+
Args:
|
|
183
|
+
title: Title for the switch
|
|
184
|
+
group: Group name for organizing inputs in the UI
|
|
185
|
+
description: Description text for the switch
|
|
186
|
+
default: Default checked state
|
|
187
|
+
hidden: Whether the input should be hidden in the UI
|
|
188
|
+
|
|
189
|
+
Returns:
|
|
190
|
+
Type annotation for switch input field
|
|
191
|
+
"""
|
|
192
|
+
return WithJsonSchema({
|
|
193
|
+
"type": "switch",
|
|
194
|
+
"title": title,
|
|
195
|
+
"group": group,
|
|
196
|
+
"description": description,
|
|
197
|
+
"default": default,
|
|
198
|
+
"hidden": hidden,
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
|
|
152
202
|
def FileInput(title: str | None = None, file_extensions: str | None = None, group: str | None = None, hidden: bool | None = False) -> type:
|
|
153
203
|
"""
|
|
154
204
|
Factory function for creating a single file input type.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-lab-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.21
|
|
4
4
|
Summary: SDK для работы с Agent Lab
|
|
5
5
|
Author-email: Andrew Ohurtsov <andermirik@yandex.com>
|
|
6
6
|
License: Proprietary and Confidential — All Rights Reserved
|
|
@@ -37,6 +37,10 @@ Dynamic: license-file
|
|
|
37
37
|
pip install agent_lab_sdk
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
## Список изменений
|
|
41
|
+
|
|
42
|
+
Ознакомиться со списком изменений между версиями agent-lab-sdk можно по [ссылке](/CHANGELOG.md)
|
|
43
|
+
|
|
40
44
|
## Содержание
|
|
41
45
|
|
|
42
46
|
1. [Модуль `agent_lab_sdk.llm`](#1-модуль-agent_lab_sdkllm)
|
|
@@ -297,16 +301,18 @@ class AgentState(BaseModel):
|
|
|
297
301
|
|
|
298
302
|
#### Доступные фабричные функции
|
|
299
303
|
|
|
300
|
-
| Тип
|
|
301
|
-
|
|
302
|
-
| `MainInput`
|
|
303
|
-
| `StringInput`
|
|
304
|
-
| `StringArrayInput`
|
|
305
|
-
| `
|
|
306
|
-
| `
|
|
307
|
-
| `
|
|
308
|
-
| `
|
|
309
|
-
| `
|
|
304
|
+
| Тип | Описание | Основные параметры |
|
|
305
|
+
|--------------------------|-----------------------------------|----------------------------------------------------------|
|
|
306
|
+
| `MainInput` | Основное поле ввода | `placeholder` |
|
|
307
|
+
| `StringInput` | Текстовое поле | `default`, `title`, `description`, `hidden` |
|
|
308
|
+
| `StringArrayInput` | Массив строк | `placeholder`, `title`, `description`, `group`, `hidden` |
|
|
309
|
+
| `StringArrayInputInline` | Массив строк в одной строке ввода | `placeholder`, `title`, `description`, `group`, `hidden` |
|
|
310
|
+
| `NumberInput` | Числовое поле | `default`, `title`, `description`, `hidden` |
|
|
311
|
+
| `SelectInput` | Выпадающий список | `items`, `title`, `group`, `default`, `hidden` |
|
|
312
|
+
| `CheckboxInput` | Чекбокс | `title`, `group`, `description`, `default`, `hidden` |
|
|
313
|
+
| `SwitchInput` | Switch | `title`, `group`, `description`, `default`, `hidden` |
|
|
314
|
+
| `FileInput` | Загрузка одного файла | `title`, `file_extensions`, `group`, `hidden` |
|
|
315
|
+
| `FilesInput` | Загрузка нескольких файлов | `title`, `file_extensions`, `group`, `hidden` |
|
|
310
316
|
|
|
311
317
|
#### Группировка полей
|
|
312
318
|
|
|
File without changes
|
|
File without changes
|
{agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/langgraph/checkpoint/__init__.py
RENAMED
|
File without changes
|
{agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/langgraph/checkpoint/agw_saver.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
|