auto-coder-web 0.1.97__py3-none-any.whl → 0.1.98__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.
- auto_coder_web/agentic_message_parser/message_parser.py +10 -1
- auto_coder_web/version.py +1 -1
- auto_coder_web/web/assets/main.js +249 -249
- {auto_coder_web-0.1.97.dist-info → auto_coder_web-0.1.98.dist-info}/METADATA +2 -2
- {auto_coder_web-0.1.97.dist-info → auto_coder_web-0.1.98.dist-info}/RECORD +8 -8
- {auto_coder_web-0.1.97.dist-info → auto_coder_web-0.1.98.dist-info}/WHEEL +0 -0
- {auto_coder_web-0.1.97.dist-info → auto_coder_web-0.1.98.dist-info}/entry_points.txt +0 -0
- {auto_coder_web-0.1.97.dist-info → auto_coder_web-0.1.98.dist-info}/top_level.txt +0 -0
@@ -73,7 +73,16 @@ def parse_messages(messages: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
|
|
73
73
|
Returns:
|
74
74
|
List of processed messages
|
75
75
|
"""
|
76
|
-
|
76
|
+
# 先补充 metadata 字段
|
77
|
+
normalized_messages = []
|
78
|
+
for message in messages:
|
79
|
+
if 'metadata' not in message or message['metadata'] is None:
|
80
|
+
msg = message.copy()
|
81
|
+
msg['metadata'] = {}
|
82
|
+
normalized_messages.append(msg)
|
83
|
+
else:
|
84
|
+
normalized_messages.append(message)
|
85
|
+
return [parse_message(message) for message in normalized_messages]
|
77
86
|
|
78
87
|
# Tool-specific parsers are defined in tool_parsers.py
|
79
88
|
# and automatically registered when that module is imported
|
auto_coder_web/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.1.
|
1
|
+
__version__ = "0.1.98"
|