@simbimbo/memory-ocmemog 0.1.17 → 0.1.18
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.
|
@@ -29,6 +29,10 @@ _SHORT_REPLY_NORMALIZED = {
|
|
|
29
29
|
"okay",
|
|
30
30
|
"do it",
|
|
31
31
|
"go ahead",
|
|
32
|
+
"proceed",
|
|
33
|
+
"get on it",
|
|
34
|
+
"lets go",
|
|
35
|
+
"let us go",
|
|
32
36
|
"sounds good",
|
|
33
37
|
"lets do it",
|
|
34
38
|
"let us do it",
|
|
@@ -395,7 +399,10 @@ def _infer_short_reply_resolution(
|
|
|
395
399
|
if not referent_content:
|
|
396
400
|
return None
|
|
397
401
|
decision = "decline" if normalized in _NEGATIVE_SHORT_REPLY_NORMALIZED else "confirm"
|
|
398
|
-
|
|
402
|
+
if decision == "confirm":
|
|
403
|
+
effective_summary = f"Continue approved step: {referent_content}"
|
|
404
|
+
else:
|
|
405
|
+
effective_summary = f"Decline proposed step: {referent_content}"
|
|
399
406
|
return {
|
|
400
407
|
"kind": "short_reply_reference",
|
|
401
408
|
"decision": decision,
|
package/package.json
CHANGED