Tags: volcengine/veadk-python
Tags
Fix/meter not init (#539) * fix: 解决meter uploader初始化问题,日志新增traceid字段 Change-Id: I1072e6b3add3ef6ca69efa378c81216df3136f46 * upgrade version Change-Id: Iec24209e4e0828fd787866b3ee08a1825bc179e6 * ruff format Change-Id: Ifde37f3f153b2d254dd02a099e1323c5032cbfd6
Fix the read and write methods of vikingdb long-term memory for langc… …hain (#528) * During the conversion process from langchain to veadk, correct the read and write operation logic of long-term memory - Modify save_session.py to: 1. Filter out messages with potentially empty content in AIMessage 2. Correctly handle ToolMessage, ignoring it regardless of its content 3. Only save HumanMessage and AIMessage messages that have actual content - In viking_memory.py: 1. Modify the batch() method: - Add the corresponding result to the results list for each operation - PutOp: Add None - GetOp: Correctly add the result of self._apply_get_op(op) - SearchOp: Correctly add the result of self._apply_search_op(op) 2. Modify the _apply_search_op() method: - Use op.limit or 1 to correctly handle search limits * release new version to 0.5.25 --------- Co-authored-by: yaozheng-fang <fangyaozheng@bytedance.com>
PreviousNext