collavre_openclaw 0.6.3 → 0.6.4
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '028dc9b0f4d77120602482cb67e02ccb7d54efa1ce69d850452a4fe548923e26'
|
|
4
|
+
data.tar.gz: e3caf613040f7572a727ed5abd89dcb14f5ddc336ebd962006b4ad67bffed20a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69854771a368ea6200b04126e70d4939b0b70783adaae82c6ed43998879f009d3d87fed40c84c3a3f4aa0d9e90f08b350f23c84f427127e9c71236ee051744c0
|
|
7
|
+
data.tar.gz: 9f2ef5b7a2f8d3980ddcb81c878a65a760545b35374e500e319b04131886297a95dfe864b8dccf617b383a15b6b66a8f48029af2f4cad35163b5bb38168c8dee
|
|
@@ -42,14 +42,20 @@ module CollavreOpenclaw
|
|
|
42
42
|
error_message = e.message
|
|
43
43
|
raise
|
|
44
44
|
ensure
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
# Honor no-log mode (e.g. inline typo correction on *unsubmitted* drafts).
|
|
46
|
+
# Base Collavre::AiClient#chat gates logging behind @log_interactions; this
|
|
47
|
+
# prepended adapter path bypasses super, so it must gate it too — otherwise
|
|
48
|
+
# private drafts leak to ActivityLog for OpenClaw-backed agents.
|
|
49
|
+
if @log_interactions
|
|
50
|
+
log_interaction(
|
|
51
|
+
messages: messages_data[:messages],
|
|
52
|
+
tools: [],
|
|
53
|
+
response_content: response_content,
|
|
54
|
+
error_message: error_message,
|
|
55
|
+
input_tokens: nil,
|
|
56
|
+
output_tokens: nil
|
|
57
|
+
)
|
|
58
|
+
end
|
|
53
59
|
end
|
|
54
60
|
|
|
55
61
|
return response_content
|