Skip to content

Commit fc427ec

Browse files
authored
remove any additional cachepoints (#156)
1 parent 9a7a86c commit fc427ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/idp_common_pkg/idp_common/extraction/agentic_idp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,9 @@ def _prepare_prompt_content(
826826
)
827827
)
828828

829+
prompt_content = [
830+
x for x in prompt_content if x.get("cachePoint", {}).get("type") != "default"
831+
]
829832
prompt_content += [
830833
ContentBlock(text="end of your main task description"),
831834
ContentBlock(cachePoint=CachePoint(type="default")),

0 commit comments

Comments
 (0)