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.

Files changed (25) hide show
  1. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/PKG-INFO +17 -11
  2. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/README.md +16 -10
  3. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/schema/input_types.py +50 -0
  4. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk.egg-info/PKG-INFO +17 -11
  5. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/pyproject.toml +1 -1
  6. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/LICENSE +0 -0
  7. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/__init__.py +0 -0
  8. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/langgraph/checkpoint/__init__.py +0 -0
  9. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/langgraph/checkpoint/agw_saver.py +0 -0
  10. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/llm/__init__.py +0 -0
  11. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/llm/agw_token_manager.py +0 -0
  12. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/llm/gigachat_token_manager.py +0 -0
  13. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/llm/llm.py +0 -0
  14. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/llm/throttled.py +0 -0
  15. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/metrics/__init__.py +0 -0
  16. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/metrics/metrics.py +0 -0
  17. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/schema/__init__.py +0 -0
  18. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/schema/log_message.py +0 -0
  19. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/storage/__init__.py +0 -0
  20. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk/storage/storage.py +0 -0
  21. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk.egg-info/SOURCES.txt +0 -0
  22. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk.egg-info/dependency_links.txt +0 -0
  23. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk.egg-info/requires.txt +0 -0
  24. {agent_lab_sdk-0.1.19 → agent_lab_sdk-0.1.21}/agent_lab_sdk.egg-info/top_level.txt +0 -0
  25. {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.19
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` | Основное поле ввода | `placeholder` |
303
- | `StringInput` | Текстовое поле | `default`, `title`, `description`, `hidden` |
304
- | `StringArrayInput` | Массив строк | `placeholder`, `title`, `description`, `group`, `hidden` |
305
- | `NumberInput` | Числовое поле | `default`, `title`, `description`, `hidden` |
306
- | `SelectInput` | Выпадающий список | `items`, `title`, `group`, `default`, `hidden` |
307
- | `CheckboxInput` | Чекбокс | `title`, `group`, `description`, `default`, `hidden` |
308
- | `FileInput` | Загрузка одного файла | `title`, `file_extensions`, `group`, `hidden` |
309
- | `FilesInput` | Загрузка нескольких файлов | `title`, `file_extensions`, `group`, `hidden` |
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` | Основное поле ввода | `placeholder` |
274
- | `StringInput` | Текстовое поле | `default`, `title`, `description`, `hidden` |
275
- | `StringArrayInput` | Массив строк | `placeholder`, `title`, `description`, `group`, `hidden` |
276
- | `NumberInput` | Числовое поле | `default`, `title`, `description`, `hidden` |
277
- | `SelectInput` | Выпадающий список | `items`, `title`, `group`, `default`, `hidden` |
278
- | `CheckboxInput` | Чекбокс | `title`, `group`, `description`, `default`, `hidden` |
279
- | `FileInput` | Загрузка одного файла | `title`, `file_extensions`, `group`, `hidden` |
280
- | `FilesInput` | Загрузка нескольких файлов | `title`, `file_extensions`, `group`, `hidden` |
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.19
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` | Основное поле ввода | `placeholder` |
303
- | `StringInput` | Текстовое поле | `default`, `title`, `description`, `hidden` |
304
- | `StringArrayInput` | Массив строк | `placeholder`, `title`, `description`, `group`, `hidden` |
305
- | `NumberInput` | Числовое поле | `default`, `title`, `description`, `hidden` |
306
- | `SelectInput` | Выпадающий список | `items`, `title`, `group`, `default`, `hidden` |
307
- | `CheckboxInput` | Чекбокс | `title`, `group`, `description`, `default`, `hidden` |
308
- | `FileInput` | Загрузка одного файла | `title`, `file_extensions`, `group`, `hidden` |
309
- | `FilesInput` | Загрузка нескольких файлов | `title`, `file_extensions`, `group`, `hidden` |
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
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "agent-lab-sdk"
7
- version = "0.1.19"
7
+ version = "0.1.21"
8
8
  description = "SDK для работы с Agent Lab"
9
9
  readme = "README.md"
10
10
  license = { text = "Proprietary and Confidential — All Rights Reserved" }
File without changes
File without changes