lightmodel 0.1.2__tar.gz → 0.1.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lightmodel
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Ultra-light Model adapter and web search tool for smolagents - works with any OpenAI-compatible API
5
5
  Author-email: PlimbAi <plimb.ai.contact@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "lightmodel"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  description = "Ultra-light Model adapter and web search tool for smolagents - works with any OpenAI-compatible API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -58,8 +58,8 @@ class LightModel(Model):
58
58
  def _to_openai(messages):
59
59
  ROLE_MAP = {
60
60
  "tool-call": "assistant",
61
- "tool-response": "tool",
62
- "tool": "tool",
61
+ "tool-response": "user",
62
+ "tool": "user",
63
63
  }
64
64
  out = []
65
65
  for m in messages:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lightmodel
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Ultra-light Model adapter and web search tool for smolagents - works with any OpenAI-compatible API
5
5
  Author-email: PlimbAi <plimb.ai.contact@gmail.com>
6
6
  License: MIT
File without changes
File without changes
File without changes