aiqtoolkit-semantic-kernel 1.2.0a20250707__py3-none-any.whl → 1.2.0rc1__py3-none-any.whl

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 aiqtoolkit-semantic-kernel might be problematic. Click here for more details.

@@ -16,7 +16,9 @@
16
16
  from aiq.builder.builder import Builder
17
17
  from aiq.builder.framework_enum import LLMFrameworkEnum
18
18
  from aiq.cli.register_workflow import register_llm_client
19
+ from aiq.data_models.retry_mixin import RetryMixin
19
20
  from aiq.llm.openai_llm import OpenAIModelConfig
21
+ from aiq.utils.exception_handlers.automatic_retries import patch_with_retry
20
22
 
21
23
 
22
24
  @register_llm_client(config_type=OpenAIModelConfig, wrapper_type=LLMFrameworkEnum.SEMANTIC_KERNEL)
@@ -30,4 +32,10 @@ async def openai_semantic_kernel(llm_config: OpenAIModelConfig, builder: Builder
30
32
 
31
33
  llm = OpenAIChatCompletion(ai_model_id=config_obj.get("model"))
32
34
 
35
+ if isinstance(llm_config, RetryMixin):
36
+ llm = patch_with_retry(llm,
37
+ retries=llm_config.num_retries,
38
+ retry_codes=llm_config.retry_on_status_codes,
39
+ retry_on_messages=llm_config.retry_on_errors)
40
+
33
41
  yield llm
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiqtoolkit-semantic-kernel
3
- Version: 1.2.0a20250707
3
+ Version: 1.2.0rc1
4
4
  Summary: Subpackage for Semantic-Kernel integration in AIQtoolkit
5
5
  Keywords: ai,rag,agents
6
6
  Classifier: Programming Language :: Python
7
7
  Requires-Python: <3.13,>=3.11
8
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: aiqtoolkit==v1.2.0a20250707
9
+ Requires-Dist: aiqtoolkit~=1.2
10
10
  Requires-Dist: semantic-kernel~=1.24.0
11
11
 
12
12
  <!--
@@ -0,0 +1,10 @@
1
+ aiq/meta/pypi.md,sha256=Fz0ye_uf6risEpiRBtYo301nUqmAuVCSquYhJMZQlzQ,1092
2
+ aiq/plugins/semantic_kernel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ aiq/plugins/semantic_kernel/llm.py,sha256=l13R5Wv50iQ8OQ2juAFCoPoll6ZtIbojTnWjyGjepGI,1744
4
+ aiq/plugins/semantic_kernel/register.py,sha256=RKXyuaXy4ftA5IL2RrCofIBjpie_-2lP9YZoHAiyPU0,863
5
+ aiq/plugins/semantic_kernel/tool_wrapper.py,sha256=miogE5cp3o5H-KxaKp1dMqqJZnV-UMsYb1PQ4ox-xKY,7175
6
+ aiqtoolkit_semantic_kernel-1.2.0rc1.dist-info/METADATA,sha256=8k48IusIVpGzXIcJEWgbwX1x1AamYDG_8eFKN9OLi64,1439
7
+ aiqtoolkit_semantic_kernel-1.2.0rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ aiqtoolkit_semantic_kernel-1.2.0rc1.dist-info/entry_points.txt,sha256=qGCOsf9tkWvc5EUonXrUI96cDrTJ3qoueyy3DgClK3M,76
9
+ aiqtoolkit_semantic_kernel-1.2.0rc1.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
10
+ aiqtoolkit_semantic_kernel-1.2.0rc1.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- aiq/meta/pypi.md,sha256=Fz0ye_uf6risEpiRBtYo301nUqmAuVCSquYhJMZQlzQ,1092
2
- aiq/plugins/semantic_kernel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- aiq/plugins/semantic_kernel/llm.py,sha256=WzzdOZXgWEUFzmfgfgLSTFjbvv0GDlaKIiyDChjANnQ,1320
4
- aiq/plugins/semantic_kernel/register.py,sha256=RKXyuaXy4ftA5IL2RrCofIBjpie_-2lP9YZoHAiyPU0,863
5
- aiq/plugins/semantic_kernel/tool_wrapper.py,sha256=miogE5cp3o5H-KxaKp1dMqqJZnV-UMsYb1PQ4ox-xKY,7175
6
- aiqtoolkit_semantic_kernel-1.2.0a20250707.dist-info/METADATA,sha256=JXU23UNGMKVZX5Y97ae7626LNRCM9CJ_adFn4ejp5cI,1457
7
- aiqtoolkit_semantic_kernel-1.2.0a20250707.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- aiqtoolkit_semantic_kernel-1.2.0a20250707.dist-info/entry_points.txt,sha256=qGCOsf9tkWvc5EUonXrUI96cDrTJ3qoueyy3DgClK3M,76
9
- aiqtoolkit_semantic_kernel-1.2.0a20250707.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
10
- aiqtoolkit_semantic_kernel-1.2.0a20250707.dist-info/RECORD,,