euriai 1.0.14__py3-none-any.whl → 1.0.15__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.
euriai/__init__.py CHANGED
@@ -4,7 +4,7 @@ Euri AI Python SDK
4
4
  A comprehensive Python SDK for the Euri AI API with integrations for popular frameworks.
5
5
  """
6
6
 
7
- __version__ = "1.0.14"
7
+ __version__ = "1.0.15"
8
8
 
9
9
  # Core imports that should always work
10
10
  try:
euriai/langgraph.py CHANGED
@@ -156,15 +156,15 @@ class EuriaiAINode:
156
156
  # Format prompt with state variables
157
157
  formatted_prompt = self.prompt_template.format(**state)
158
158
 
159
- # Prepare messages
160
- messages = []
159
+ # Prepare user prompt (combine system message if provided)
160
+ user_prompt = formatted_prompt
161
161
  if self.system_message:
162
- messages.append({"role": "system", "content": self.system_message})
163
- messages.append({"role": "user", "content": formatted_prompt})
162
+ # If there's a system message, combine it with the user prompt
163
+ user_prompt = f"System: {self.system_message}\n\nUser: {formatted_prompt}"
164
164
 
165
165
  # Make API call
166
166
  response = self.client.generate_completion(
167
- messages=messages,
167
+ prompt=user_prompt,
168
168
  temperature=self.temperature,
169
169
  max_tokens=self.max_tokens
170
170
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: euriai
3
- Version: 1.0.14
3
+ Version: 1.0.15
4
4
  Summary: Python client for Euri API (euron.one) with CLI, LangChain, and LlamaIndex integration
5
5
  Author: Euri
6
6
  Author-email: tech@euron.one
@@ -1,4 +1,4 @@
1
- euriai/__init__.py,sha256=XD-D_mJFmPjSbIEBZo5vvYRuOugJqd8Qa67OHRsGzaM,6630
1
+ euriai/__init__.py,sha256=BW-vN8t7z6wkpm_Vu4xM-roD2NiMhF-IKb6MJV1KzKM,6630
2
2
  euriai/autogen.py,sha256=z1WHftUgu3_Sn8zDXmf31onikS0p8TwH5JE4llL7ogk,21144
3
3
  euriai/cli.py,sha256=hF1wiiL2QQSfWf8WlLQyNVDBd4YkbiwmMSoPxVbyPTM,3290
4
4
  euriai/client.py,sha256=L-o6hv9N3md-l-hz-kz5nYVaaZqnrREZlo_0jguhF7E,4066
@@ -8,12 +8,12 @@ euriai/embedding.py,sha256=uP66Ph1k9Ou6J5RAkztJxlfyj0S0MESOvZ4ulhnVo-o,1270
8
8
  euriai/euri_chat.py,sha256=DEAiet1ReRwB4ljkPYaTl1Nb5uc20-JF-3PQjGQZXk4,3567
9
9
  euriai/euri_embed.py,sha256=g7zs1G-ZBDJjOGJtkkfIcV4LPtRcm9wpVWmrfMGn5EM,2919
10
10
  euriai/langchain.py,sha256=gVF9eh21RC1WtDn7SQoEREUDqOObm5IRx6BFZtB5xcc,34968
11
- euriai/langgraph.py,sha256=s3bHrLqcSkae2Ia3tbyHrRPQdUnAi6RoGj_eDDQOwsY,34567
11
+ euriai/langgraph.py,sha256=YTApEQ5gte_HI06x_zMBiNt1O87JlVspaWref954_7I,34636
12
12
  euriai/llamaindex.py,sha256=c-ujod2bjL6QIvfAyuIxm1SvSCS00URFElYybKQ5Ew0,26551
13
13
  euriai/n8n.py,sha256=hjkckqyW_hZNL78UkBCof1WvKCKCIjwdvZdAgx6NrB8,3764
14
14
  euriai/smolagents.py,sha256=xlixGx2IWzAPTpSJGsYIK2L-SHGY9Mw1-8GbwVsEYtU,28507
15
- euriai-1.0.14.dist-info/METADATA,sha256=evajK_JfVw79S-gbYur2Z8h1SjHE6yrf1GGws3qArV0,6807
16
- euriai-1.0.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
- euriai-1.0.14.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
18
- euriai-1.0.14.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
19
- euriai-1.0.14.dist-info/RECORD,,
15
+ euriai-1.0.15.dist-info/METADATA,sha256=6ky-wJh84rTRc521m-nHTFXYbvtmRPaxQ83JmbfXTg8,6807
16
+ euriai-1.0.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ euriai-1.0.15.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
18
+ euriai-1.0.15.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
19
+ euriai-1.0.15.dist-info/RECORD,,