Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-langchain-protocol for 
openSUSE:Factory checked in at 2026-11-20 14:48:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-langchain-protocol (Old)
 and      /work/SRC/openSUSE:Factory/.python-langchain-protocol.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-langchain-protocol"

Fri Nov 20 14:48:05 2026 rev:5 rq:1398889 version:0.0.22

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-langchain-protocol/python-langchain-protocol.changes
      2026-11-06 20:04:45.793308286 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-langchain-protocol.new.1251/python-langchain-protocol.changes
    2026-11-20 14:50:41.953468450 +0100
@@ -1,0 +2,11 @@
+Fri Nov 20 06:23:47 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 0.0.22:
+  * Add optional finish-reason fields to message-finish: raw
+    finish_reason, normalized normalized_finish_reason (stop,
+    length, tool_call, content_filter, refusal, context_exceeded,
+    error, other) and finish_state (complete/suspended), so
+    consumers can tell truncated or blocked turns from clean
+    finishes without parsing provider values
+
+-------------------------------------------------------------------

Old:
----
  langchain_protocol-0.0.21.tar.gz

New:
----
  langchain_protocol-0.0.22.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-langchain-protocol.spec ++++++
--- /var/tmp/diff_new_pack.TjXxkD/_old  2026-11-20 14:50:42.886507946 +0100
+++ /var/tmp/diff_new_pack.TjXxkD/_new  2026-11-20 14:50:42.888508031 +0100
@@ -18,7 +18,7 @@
 
 %define modname langchain_protocol
 Name:           python-langchain-protocol
-Version:        0.0.21
+Version:        0.0.22
 Release:        0
 Summary:        Python bindings for the LangChain agent streaming protocol
 License:        MIT
@@ -56,7 +56,7 @@
 %check
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -B -c "import 
langchain_protocol"
 
-%files %python_files
+%files %{python_files}
 %license LICENSE
 %doc README.md
 %{python_sitelib}/langchain_protocol

++++++ langchain_protocol-0.0.21.tar.gz -> langchain_protocol-0.0.22.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/langchain_protocol-0.0.21/PKG-INFO 
new/langchain_protocol-0.0.22/PKG-INFO
--- old/langchain_protocol-0.0.21/PKG-INFO      2020-02-02 01:00:00.000000000 
+0100
+++ new/langchain_protocol-0.0.22/PKG-INFO      2020-02-02 01:00:00.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: langchain-protocol
-Version: 0.0.21
+Version: 0.0.22
 Summary: Python bindings for the LangChain agent streaming protocol
 Project-URL: Homepage, 
https://github.com/langchain-ai/agent-protocol/tree/main/streaming
 Project-URL: Repository, https://github.com/langchain-ai/agent-protocol
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/langchain_protocol-0.0.21/langchain_protocol/protocol.py 
new/langchain_protocol-0.0.22/langchain_protocol/protocol.py
--- old/langchain_protocol-0.0.21/langchain_protocol/protocol.py        
2020-02-02 01:00:00.000000000 +0100
+++ new/langchain_protocol-0.0.22/langchain_protocol/protocol.py        
2020-02-02 01:00:00.000000000 +0100
@@ -490,6 +490,9 @@
 class MessageFinishData(TypedDict):
     event: Literal["message-finish"]
     usage: NotRequired[UsageInfo]  # Token usage for AI-authored messages
+    finish_reason: NotRequired[str]  # Raw provider finish value, unchanged
+    normalized_finish_reason: NotRequired[FinishReason]  # Best-effort 
normalized finishReason
+    finish_state: NotRequired[FinishState]  # Whether the caller must continue 
the turn
 
 class MessageErrorData(TypedDict):
     event: Literal["error"]
@@ -498,6 +501,10 @@
 
 MessagesData = Union[MessageStartData, ContentBlockStartData, 
ContentBlockDeltaData, ContentBlockFinishData, MessageFinishData, 
MessageErrorData]
 
+FinishReason = Union[Literal["stop"], Literal["length"], Literal["tool_call"], 
Literal["content_filter"], Literal["refusal"], Literal["context_exceeded"], 
Literal["error"], Literal["other"]]
+
+FinishState = Union[Literal["complete"], Literal["suspended"]]
+
 class InputTokenDetails(TypedDict):
     audio: NotRequired[int]
     cache_creation: NotRequired[int]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/langchain_protocol-0.0.21/pyproject.toml 
new/langchain_protocol-0.0.22/pyproject.toml
--- old/langchain_protocol-0.0.21/pyproject.toml        2020-02-02 
01:00:00.000000000 +0100
+++ new/langchain_protocol-0.0.22/pyproject.toml        2020-02-02 
01:00:00.000000000 +0100
@@ -7,7 +7,7 @@
 description = "Python bindings for the LangChain agent streaming protocol"
 license = { text = "MIT" }
 readme = "README.md"
-version = "0.0.21"
+version = "0.0.22"
 requires-python = ">=3.10.0,<4.0.0"
 classifiers = [
   "Development Status :: 3 - Alpha",

Reply via email to