osmosis-ai 0.2.0__py3-none-any.whl → 0.2.1__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 osmosis-ai might be problematic. Click here for more details.

osmosis_ai/consts.py CHANGED
@@ -1,3 +1,3 @@
1
1
  # package metadata
2
2
  package_name = "osmosis-ai"
3
- package_version = "0.2.0"
3
+ package_version = "0.2.1"
osmosis_ai/utils.py CHANGED
@@ -54,6 +54,7 @@ def osmosis_reward(func: Callable) -> Callable:
54
54
 
55
55
  @functools.wraps(func)
56
56
  def wrapper(*args, **kwargs):
57
+ kwargs.pop("data_source", None)
57
58
  result = func(*args, **kwargs)
58
59
  if not isinstance(result, float):
59
60
  raise TypeError(f"Function {func.__name__} must return a float, got {type(result).__name__}")
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: osmosis-ai
3
- Version: 0.2.0
4
- Summary: Adds reward functionality to LLM client libraries
3
+ Version: 0.2.1
4
+ Summary: A Python library for reward function validation with strict type enforcement.
5
5
  Author-email: Osmosis AI <jake@osmosis.ai>
6
6
  License: MIT License
7
7
 
@@ -0,0 +1,8 @@
1
+ osmosis_ai/__init__.py,sha256=P1w65jE23XhFLW6BEOaiMat-EoANgKwSYBIQFPCS3Xc,445
2
+ osmosis_ai/consts.py,sha256=qnleJ6zIbS-AqX-pviqiNI5KV5w7dlmghvhbl75y048,73
3
+ osmosis_ai/utils.py,sha256=1UmSC2HXRhryoHJ5c016VitHsRH38XRsXhacv2kGLPM,2505
4
+ osmosis_ai-0.2.1.dist-info/licenses/LICENSE,sha256=FV2ZmyhdCYinoLLvU_ci-7pZ3DeNYY9XqZjVjOd3h94,1064
5
+ osmosis_ai-0.2.1.dist-info/METADATA,sha256=JDg33fTpMwdiTilgoswWF9nvCQiqvQsNWIYT_eL9omY,4753
6
+ osmosis_ai-0.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ osmosis_ai-0.2.1.dist-info/top_level.txt,sha256=UPNRTKIBSrxsJVNxwXnLCqSoBS4bAiL_3jMtjvf5zEY,11
8
+ osmosis_ai-0.2.1.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- osmosis_ai/__init__.py,sha256=P1w65jE23XhFLW6BEOaiMat-EoANgKwSYBIQFPCS3Xc,445
2
- osmosis_ai/consts.py,sha256=Ojd7wWs0Xc7vJQqfjtxYNoWiaFbgk3ChHV5fPk3l6MI,72
3
- osmosis_ai/utils.py,sha256=y6b-qy3nl_xFvURaDWKHFzkCJCFyzI8L0Wc1dHHZBm4,2465
4
- osmosis_ai-0.2.0.dist-info/licenses/LICENSE,sha256=FV2ZmyhdCYinoLLvU_ci-7pZ3DeNYY9XqZjVjOd3h94,1064
5
- osmosis_ai-0.2.0.dist-info/METADATA,sha256=7MzdHQmlJjnN5Mf-KSTVExh99aoxJu-91mM_KB6lEhM,4725
6
- osmosis_ai-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- osmosis_ai-0.2.0.dist-info/top_level.txt,sha256=UPNRTKIBSrxsJVNxwXnLCqSoBS4bAiL_3jMtjvf5zEY,11
8
- osmosis_ai-0.2.0.dist-info/RECORD,,