llama-stack-haystack 2.0.0__tar.gz → 3.0.0__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.
Files changed (15) hide show
  1. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/CHANGELOG.md +18 -0
  2. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/PKG-INFO +2 -2
  3. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/examples/llama-stack-with-tools.py +1 -1
  4. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/pyproject.toml +1 -1
  5. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/src/haystack_integrations/components/generators/llama_stack/chat/chat_generator.py +1 -1
  6. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/tests/test_llama_stack_chat_generator.py +2 -2
  7. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/.gitignore +0 -0
  8. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/LICENSE.txt +0 -0
  9. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/README.md +0 -0
  10. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/examples/chatgenerator_with_structured_outputs.py +0 -0
  11. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/pydoc/config_docusaurus.yml +0 -0
  12. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/src/haystack_integrations/components/generators/llama_stack/__init__.py +0 -0
  13. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/src/haystack_integrations/components/generators/llama_stack/chat/__init__.py +0 -0
  14. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/src/haystack_integrations/components/generators/py.typed +0 -0
  15. {llama_stack_haystack-2.0.0 → llama_stack_haystack-3.0.0}/tests/__init__.py +0 -0
@@ -1,11 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [integrations/llama_stack-v2.0.0] - 2026-01-12
4
+
5
+
6
+ ### ⚙️ CI
7
+
8
+ - Add reruns when running nightly tests if tests fail (#2584)
9
+
10
+ ### 🧹 Chores
11
+
12
+ - Remove Readme API CI workflow and configs (#2573)
13
+ - Make fmt command more forgiving (#2671)
14
+ - Pin llama-stack; X|Y typing (#2715)
15
+
3
16
  ## [integrations/llama_stack-v1.3.0] - 2025-11-23
4
17
 
5
18
  ### 🚀 Features
6
19
 
7
20
  - Support structured outputs in `LlamaStackChatGenerator` (#2535)
8
21
 
22
+ ### ⚙️ CI
23
+
24
+ - Change pytest command (#2475)
25
+ - Add pytest reruns to nightly tests for flaky tests (#2486)
26
+
9
27
  ### 🌀 Miscellaneous
10
28
 
11
29
  - Enhancement: Adopt PEP 585 type hinting (part 4) (#2527)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llama-stack-haystack
3
- Version: 2.0.0
3
+ Version: 3.0.0
4
4
  Summary: Use Llama Stack framework for text generation
5
5
  Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/llama-stack#readme
6
6
  Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
17
17
  Classifier: Programming Language :: Python :: Implementation :: PyPy
18
18
  Requires-Python: >=3.12
19
19
  Requires-Dist: haystack-ai>=2.22.0
20
- Requires-Dist: llama-stack<0.4.0,>=0.2.17
20
+ Requires-Dist: llama-stack>=0.4.0
21
21
  Description-Content-Type: text/markdown
22
22
 
23
23
  # llama-stack-haystack
@@ -35,7 +35,7 @@ tool_invoker = ToolInvoker(tools=[weather_tool])
35
35
 
36
36
  client = LlamaStackChatGenerator(
37
37
  model="ollama/llama3.2:3b", # model depends on the inference provider used for the Llama Stack Server.
38
- api_base_url="http://localhost:8321/v1/openai/v1",
38
+ api_base_url="http://localhost:8321/v1",
39
39
  )
40
40
  messages = [ChatMessage.from_user("What's the weather in Tokyo?")]
41
41
 
@@ -20,7 +20,7 @@ classifiers = [
20
20
  "Programming Language :: Python :: Implementation :: CPython",
21
21
  "Programming Language :: Python :: Implementation :: PyPy",
22
22
  ]
23
- dependencies = ["haystack-ai>=2.22.0", "llama-stack>=0.2.17,<0.4.0"]
23
+ dependencies = ["haystack-ai>=2.22.0", "llama-stack>=0.4.0"]
24
24
 
25
25
  [project.urls]
26
26
  Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/llama-stack#readme"
@@ -59,7 +59,7 @@ class LlamaStackChatGenerator(OpenAIChatGenerator):
59
59
  self,
60
60
  *,
61
61
  model: str,
62
- api_base_url: str = "http://localhost:8321/v1/openai/v1",
62
+ api_base_url: str = "http://localhost:8321/v1",
63
63
  organization: str | None = None,
64
64
  streaming_callback: StreamingCallbackT | None = None,
65
65
  generation_kwargs: dict[str, Any] | None = None,
@@ -105,7 +105,7 @@ class TestLlamaStackChatGenerator:
105
105
  def test_init_default(self):
106
106
  component = LlamaStackChatGenerator(model="ollama/llama3.2:3b")
107
107
  assert component.model == "ollama/llama3.2:3b"
108
- assert component.api_base_url == "http://localhost:8321/v1/openai/v1"
108
+ assert component.api_base_url == "http://localhost:8321/v1"
109
109
  assert component.streaming_callback is None
110
110
  assert not component.generation_kwargs
111
111
 
@@ -134,7 +134,7 @@ class TestLlamaStackChatGenerator:
134
134
  expected_params = {
135
135
  "model": "ollama/llama3.2:3b",
136
136
  "streaming_callback": None,
137
- "api_base_url": "http://localhost:8321/v1/openai/v1",
137
+ "api_base_url": "http://localhost:8321/v1",
138
138
  "generation_kwargs": {},
139
139
  "timeout": None,
140
140
  "max_retries": None,