fix(memory): return attributed_to from get/get_all/search (#5629)
This commit is contained in:
@@ -1102,6 +1102,7 @@ class Memory(MemoryBase):
|
||||
"run_id",
|
||||
"actor_id",
|
||||
"role",
|
||||
"attributed_to",
|
||||
]
|
||||
|
||||
core_and_promoted_keys = {"data", "hash", "created_at", "updated_at", "id", "text_lemmatized", "attributed_to", *promoted_payload_keys}
|
||||
@@ -1215,6 +1216,7 @@ class Memory(MemoryBase):
|
||||
"run_id",
|
||||
"actor_id",
|
||||
"role",
|
||||
"attributed_to",
|
||||
]
|
||||
core_and_promoted_keys = {"data", "hash", "created_at", "updated_at", "id", "text_lemmatized", "attributed_to", *promoted_payload_keys}
|
||||
|
||||
@@ -1550,6 +1552,7 @@ class Memory(MemoryBase):
|
||||
"run_id",
|
||||
"actor_id",
|
||||
"role",
|
||||
"attributed_to",
|
||||
]
|
||||
core_and_promoted_keys = {"data", "hash", "created_at", "updated_at", "id", "text_lemmatized", "attributed_to", *promoted_payload_keys}
|
||||
|
||||
@@ -2638,6 +2641,7 @@ class AsyncMemory(MemoryBase):
|
||||
"run_id",
|
||||
"actor_id",
|
||||
"role",
|
||||
"attributed_to",
|
||||
]
|
||||
|
||||
core_and_promoted_keys = {"data", "hash", "created_at", "updated_at", "id", "text_lemmatized", "attributed_to", *promoted_payload_keys}
|
||||
@@ -2751,6 +2755,7 @@ class AsyncMemory(MemoryBase):
|
||||
"run_id",
|
||||
"actor_id",
|
||||
"role",
|
||||
"attributed_to",
|
||||
]
|
||||
core_and_promoted_keys = {"data", "hash", "created_at", "updated_at", "id", "text_lemmatized", "attributed_to", *promoted_payload_keys}
|
||||
|
||||
@@ -3092,6 +3097,7 @@ class AsyncMemory(MemoryBase):
|
||||
"run_id",
|
||||
"actor_id",
|
||||
"role",
|
||||
"attributed_to",
|
||||
]
|
||||
core_and_promoted_keys = {"data", "hash", "created_at", "updated_at", "id", "text_lemmatized", "attributed_to", *promoted_payload_keys}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user