euriai 1.0.14__tar.gz → 1.0.15__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: 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
@@ -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:
@@ -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
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="euriai",
5
- version="1.0.14",
5
+ version="1.0.15",
6
6
  description="Python client for Euri API (euron.one) with CLI, LangChain, and LlamaIndex integration",
7
7
  long_description=open("README.md", encoding="utf-8").read(),
8
8
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes