fix for project files written to wrong directory
This commit is contained in:
@@ -594,6 +594,12 @@ def export(
|
||||
conv_id = raw_conv.get("id") or raw_conv.get("uuid", "unknown")
|
||||
try:
|
||||
full_raw = prov_instance.get_conversation(conv_id)
|
||||
# Propagate provider annotations from the listing summary
|
||||
# (e.g. _project_name set by ChatGPT project fetching) into
|
||||
# the full detail so normalize_conversation can use them.
|
||||
for key, val in raw_conv.items():
|
||||
if key.startswith("_") and key not in full_raw:
|
||||
full_raw[key] = val
|
||||
normalized = prov_instance.normalize_conversation(full_raw)
|
||||
|
||||
exported_path: Path | None = None
|
||||
|
||||
Reference in New Issue
Block a user