Skip to content

Commit 0008041

Browse files
v0.12.28 (#18340)
1 parent cc77ed7 commit 0008041

File tree

11 files changed

+483
-302
lines changed

11 files changed

+483
-302
lines changed

CHANGELOG.md

+88
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,93 @@
11
# ChangeLog
22

3+
## [2025-04-01]
4+
5+
### `llama-index-core` [0.12.28]
6+
7+
- add a code act agent + docs + from-scratch guide (#18329)
8+
- fix template var mapping for `RichPromptTemplate`, add docs (#18309)
9+
- Support multi-modal agents in `AgentWorkflow` / `ReActAgent` / `FunctionAgent` / `CodeActAgent` (#18330)
10+
- fix include Node metadata in hash calculation in new node class (#18303)
11+
- Fix `Context._events_queue` when loaded from `Context.from_dict` (#18304)
12+
- docs: add Langfuse instrumentation (#18321)
13+
14+
### `llama-index-embeddings-fastembed` [0.3.1]
15+
16+
- add providers kwarg (#18310)
17+
18+
### `llama-index-graph-stores-memgraph` [0.3.1]
19+
20+
- Update Memgraph integration to latest syntax (#18319)
21+
22+
### `llama-index-indices-managed-llama-cloud` [0.6.10]
23+
24+
- misc fixes in constructing client (#18323)
25+
26+
### `llama-index-llms-asi` [0.1.0]
27+
28+
- add asi llm integration (#18292)
29+
30+
### `llama-index-llms-dashscope` [0.3.2]
31+
32+
- Update DashScope integration with new tool handling and dependency version bump (#18311)
33+
34+
### `llama-index-llms-ipex-llm` [0.3.1]
35+
36+
- fix IpexLLM constructor error (#18200)
37+
38+
### `llama-index-llms-litellm` [0.4.1]
39+
40+
- LiteLLM: better support tools streaming, and support multimodal inputs (#18314)
41+
42+
### `llama-index-readers-obsidian` [0.5.1]
43+
44+
- fix: prevent path traversal from symlinks (#18320)
45+
46+
### `llama-index-readers-papers` [0.3.1]
47+
48+
- fix: make filename hashing more robust (#18318)
49+
50+
### `llama-index-tools-mcp` [0.1.1]
51+
52+
- Fixed case when `json_type` is a list (multiple possible types) (#18306)
53+
54+
### `llama-index-vector-stores-clickhouse` [0.4.1]
55+
56+
- fix: patch multiple sql-injection vulnerabilities (#18316)
57+
58+
### `llama-index-vector-stores-couchbase` [0.3.1]
59+
60+
- fix: patch multiple sql-injection vulnerabilities (#18316)
61+
62+
### `llama-index-vector-stores-deeplake` [0.3.3]
63+
64+
- fix: patch multiple sql-injection vulnerabilities (#18316)
65+
66+
### `llama-index-vector-stores-jaguar` [0.3.1]
67+
68+
- fix: patch multiple sql-injection vulnerabilities (#18316)
69+
70+
### `llama-index-vector-stores-lantern` [0.3.1]
71+
72+
- fix: patch multiple sql-injection vulnerabilities (#18316)
73+
74+
### `llama-index-vector-stores-nile` [0.2.2]
75+
76+
- fix: patch multiple sql-injection vulnerabilities (#18316)
77+
78+
### `llama-index-vector-stores-milvus` [0.7.2]
79+
80+
- [bugfix] Milvus create index when existed (#18315)
81+
- Add more unit tests for milvus vector store (#18331)
82+
83+
### `llama-index-vector-stores-oracledb` [0.2.1]
84+
85+
- fix: patch multiple sql-injection vulnerabilities (#18316)
86+
87+
### `llama-index-vector-stores-singlestoredb` [0.3.1]
88+
89+
- fix: patch multiple sql-injection vulnerabilities (#18316)
90+
391
## [2025-03-28]
492

593
### `llama-index-core` [0.12.27]

docs/docs/CHANGELOG.md

+88
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,93 @@
11
# ChangeLog
22

3+
## [2025-04-01]
4+
5+
### `llama-index-core` [0.12.28]
6+
7+
- add a code act agent + docs + from-scratch guide (#18329)
8+
- fix template var mapping for `RichPromptTemplate`, add docs (#18309)
9+
- Support multi-modal agents in `AgentWorkflow` / `ReActAgent` / `FunctionAgent` / `CodeActAgent` (#18330)
10+
- fix include Node metadata in hash calculation in new node class (#18303)
11+
- Fix `Context._events_queue` when loaded from `Context.from_dict` (#18304)
12+
- docs: add Langfuse instrumentation (#18321)
13+
14+
### `llama-index-embeddings-fastembed` [0.3.1]
15+
16+
- add providers kwarg (#18310)
17+
18+
### `llama-index-graph-stores-memgraph` [0.3.1]
19+
20+
- Update Memgraph integration to latest syntax (#18319)
21+
22+
### `llama-index-indices-managed-llama-cloud` [0.6.10]
23+
24+
- misc fixes in constructing client (#18323)
25+
26+
### `llama-index-llms-asi` [0.1.0]
27+
28+
- add asi llm integration (#18292)
29+
30+
### `llama-index-llms-dashscope` [0.3.2]
31+
32+
- Update DashScope integration with new tool handling and dependency version bump (#18311)
33+
34+
### `llama-index-llms-ipex-llm` [0.3.1]
35+
36+
- fix IpexLLM constructor error (#18200)
37+
38+
### `llama-index-llms-litellm` [0.4.1]
39+
40+
- LiteLLM: better support tools streaming, and support multimodal inputs (#18314)
41+
42+
### `llama-index-readers-obsidian` [0.5.1]
43+
44+
- fix: prevent path traversal from symlinks (#18320)
45+
46+
### `llama-index-readers-papers` [0.3.1]
47+
48+
- fix: make filename hashing more robust (#18318)
49+
50+
### `llama-index-tools-mcp` [0.1.1]
51+
52+
- Fixed case when `json_type` is a list (multiple possible types) (#18306)
53+
54+
### `llama-index-vector-stores-clickhouse` [0.4.1]
55+
56+
- fix: patch multiple sql-injection vulnerabilities (#18316)
57+
58+
### `llama-index-vector-stores-couchbase` [0.3.1]
59+
60+
- fix: patch multiple sql-injection vulnerabilities (#18316)
61+
62+
### `llama-index-vector-stores-deeplake` [0.3.3]
63+
64+
- fix: patch multiple sql-injection vulnerabilities (#18316)
65+
66+
### `llama-index-vector-stores-jaguar` [0.3.1]
67+
68+
- fix: patch multiple sql-injection vulnerabilities (#18316)
69+
70+
### `llama-index-vector-stores-lantern` [0.3.1]
71+
72+
- fix: patch multiple sql-injection vulnerabilities (#18316)
73+
74+
### `llama-index-vector-stores-nile` [0.2.2]
75+
76+
- fix: patch multiple sql-injection vulnerabilities (#18316)
77+
78+
### `llama-index-vector-stores-milvus` [0.7.2]
79+
80+
- [bugfix] Milvus create index when existed (#18315)
81+
- Add more unit tests for milvus vector store (#18331)
82+
83+
### `llama-index-vector-stores-oracledb` [0.2.1]
84+
85+
- fix: patch multiple sql-injection vulnerabilities (#18316)
86+
87+
### `llama-index-vector-stores-singlestoredb` [0.3.1]
88+
89+
- fix: patch multiple sql-injection vulnerabilities (#18316)
90+
391
## [2025-03-28]
492

593
### `llama-index-core` [0.12.27]

docs/docs/api_reference/agent/index.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# Core Agent Classes
2-
3-
## Base Types
1+
# Agent Classes
42

53
::: llama_index.core.agent.workflow
64
options:
@@ -9,6 +7,7 @@
97
- BaseWorkflowAgent
108
- FunctionAgent
119
- ReActAgent
10+
- CodeActAgent
1211
- AgentInput
1312
- AgentStream
1413
- AgentOutput

docs/docs/api_reference/llms/asi.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
::: llama_index.llms.asi
2+
options:
3+
members:
4+
- ASI

docs/docs/api_reference/readers/myscale.md

-4
This file was deleted.

docs/mkdocs.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ nav:
9797
- ./examples/agent/agent_workflow_research_assistant.ipynb
9898
- ./examples/agent/anthropic_agent.ipynb
9999
- ./examples/agent/bedrock_converse_agent.ipynb
100+
- ./examples/agent/code_act_agent.ipynb
101+
- ./examples/agent/from_scratch_code_act_agent.ipynb
100102
- ./examples/agent/memory/chat_memory_buffer.ipynb
101103
- ./examples/agent/memory/composable_memory.ipynb
102104
- ./examples/agent/memory/summary_memory_buffer.ipynb
@@ -181,7 +183,6 @@ nav:
181183
- ./examples/data_connectors/MboxReaderDemo.ipynb
182184
- ./examples/data_connectors/MilvusReaderDemo.ipynb
183185
- ./examples/data_connectors/MongoDemo.ipynb
184-
- ./examples/data_connectors/MyScaleReaderDemo.ipynb
185186
- ./examples/data_connectors/NotionDemo.ipynb
186187
- ./examples/data_connectors/ObsidianReaderDemo.ipynb
187188
- ./examples/data_connectors/PathwayReaderDemo.ipynb
@@ -522,6 +523,7 @@ nav:
522523
- ./examples/prompts/advanced_prompts.ipynb
523524
- ./examples/prompts/emotion_prompt.ipynb
524525
- ./examples/prompts/prompt_mixin.ipynb
526+
- ./examples/prompts/rich_prompt_template_features.ipynb
525527
- Property Graph:
526528
- ./examples/property_graph/graph_store.ipynb
527529
- ./examples/property_graph/property_graph_advanced.ipynb
@@ -987,6 +989,7 @@ nav:
987989
- ./api_reference/llms/alibabacloud_aisearch.md
988990
- ./api_reference/llms/anthropic.md
989991
- ./api_reference/llms/anyscale.md
992+
- ./api_reference/llms/asi.md
990993
- ./api_reference/llms/azure_inference.md
991994
- ./api_reference/llms/azure_openai.md
992995
- ./api_reference/llms/bedrock.md
@@ -2399,8 +2402,10 @@ plugins:
23992402
- ../llama-index-integrations/llms/llama-index-llms-novita
24002403
- ../llama-index-integrations/llms/llama-index-llms-netmind
24012404
- ../llama-index-integrations/tools/llama-index-tools-dappier
2405+
- ../llama-index-integrations/llms/llama-index-llms-asi
24022406
- redirects:
24032407
redirect_maps:
2408+
./api/llama_index.vector_stores.MongoDBAtlasVectorSearch.html: api_reference/storage/vector_store/mongodb.md
24042409
./api_reference/agent/coa/index.html: https://docs.llamaindex.ai/en/stable/api_reference/agent/
24052410
./api_reference/agent/dashscope/index.html: https://docs.llamaindex.ai/en/stable/api_reference/agent/
24062411
./api_reference/agent/function/index.html: https://docs.llamaindex.ai/en/stable/api_reference/agent/
@@ -2411,7 +2416,6 @@ plugins:
24112416
./api_reference/agent/openai_legacy/index.html: https://docs.llamaindex.ai/en/stable/api_reference/agent/
24122417
./api_reference/agent/react/index.html: https://docs.llamaindex.ai/en/stable/api_reference/agent/
24132418
./api_reference/agent/workflow/index.html: https://docs.llamaindex.ai/en/stable/api_reference/agent/
2414-
./api/llama_index.vector_stores.MongoDBAtlasVectorSearch.html: api_reference/storage/vector_store/mongodb.md
24152419
./changes/deprecated_terms.html: https://docs.llamaindex.ai/en/stable/changes/deprecated_terms/
24162420
./community/faq/chat_engines.html: https://docs.llamaindex.ai/en/stable/community/faq/chat_engines/
24172421
./community/faq/documents_and_nodes.html: https://docs.llamaindex.ai/en/stable/community/faq/documents_and_nodes/
@@ -2560,7 +2564,6 @@ plugins:
25602564
./examples/data_connectors/MboxReaderDemo.html: https://docs.llamaindex.ai/en/stable/examples/data_connectors/MboxReaderDemo/
25612565
./examples/data_connectors/MilvusReaderDemo.html: https://docs.llamaindex.ai/en/stable/examples/data_connectors/MilvusReaderDemo/
25622566
./examples/data_connectors/MongoDemo.html: https://docs.llamaindex.ai/en/stable/examples/data_connectors/MongoDemo/
2563-
./examples/data_connectors/MyScaleReaderDemo.html: https://docs.llamaindex.ai/en/stable/examples/data_connectors/MyScaleReaderDemo/
25642567
./examples/data_connectors/NotionDemo.html: https://docs.llamaindex.ai/en/stable/examples/data_connectors/NotionDemo/
25652568
./examples/data_connectors/ObsidianReaderDemo.html: https://docs.llamaindex.ai/en/stable/examples/data_connectors/ObsidianReaderDemo/
25662569
./examples/data_connectors/PathwayReaderDemo.html: https://docs.llamaindex.ai/en/stable/examples/data_connectors/PathwayReaderDemo/

llama-index-core/llama_index/core/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Init file of LlamaIndex."""
22

3-
__version__ = "0.12.27"
3+
__version__ = "0.12.28"
44

55
import logging
66
from logging import NullHandler

llama-index-core/llama_index/core/agent/workflow/react_agent.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import uuid
2-
from typing import List, Sequence, cast
2+
from typing import List, Sequence, Optional, cast
33

44
from llama_index.core.agent.react.formatter import ReActChatFormatter
55
from llama_index.core.agent.react.output_parser import ReActOutputParser
@@ -28,9 +28,10 @@
2828
from llama_index.core.workflow import Context
2929

3030

31-
def default_formatter(fields: dict) -> ReActChatFormatter:
31+
def default_formatter(fields: Optional[dict] = None) -> ReActChatFormatter:
3232
"""Sets up a default formatter so that the proper react header is set."""
33-
return ReActChatFormatter.from_defaults(context=fields["system_prompt"])
33+
fields = fields or {}
34+
return ReActChatFormatter.from_defaults(context=fields.get("system_prompt", None))
3435

3536

3637
class ReActAgent(SingleAgentRunnerMixin, BaseWorkflowAgent):

llama-index-core/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ name = "llama-index-core"
4646
packages = [{include = "llama_index"}]
4747
readme = "README.md"
4848
repository = "https://github.com/run-llama/llama_index"
49-
version = "0.12.27"
49+
version = "0.12.28"
5050

5151
[tool.poetry.dependencies]
5252
SQLAlchemy = {extras = ["asyncio"], version = ">=1.4.49"}

0 commit comments

Comments
 (0)