fix(gtm): Correct dictionary merge syntax error and add debug logging
This commit is contained in:
@@ -203,7 +203,7 @@ Output JSON format ONLY.
|
|||||||
conflict_response = call_openai_chat(full_conflict_prompt, response_format_json=True)
|
conflict_response = call_openai_chat(full_conflict_prompt, response_format_json=True)
|
||||||
conflict_data = json.loads(conflict_response)
|
conflict_data = json.loads(conflict_response)
|
||||||
|
|
||||||
final_result = {{**extraction_data, **conflict_data}}
|
final_result = {**extraction_data, **conflict_data}
|
||||||
print(json.dumps(final_result))
|
print(json.dumps(final_result))
|
||||||
|
|
||||||
def discover_icps(data):
|
def discover_icps(data):
|
||||||
@@ -292,6 +292,8 @@ def main():
|
|||||||
parser.add_argument("--mode", type=str, required=True, help="Execution mode")
|
parser.add_argument("--mode", type=str, required=True, help="Execution mode")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
print(f"DEBUG: Orchestrator v1.2 loaded (Mode: {args.mode})", file=sys.stderr)
|
||||||
|
|
||||||
if not sys.stdin.isatty():
|
if not sys.stdin.isatty():
|
||||||
try:
|
try:
|
||||||
data = json.loads(sys.stdin.read())
|
data = json.loads(sys.stdin.read())
|
||||||
|
|||||||
Reference in New Issue
Block a user