process-gpt-agent-sdk 0.3.19__tar.gz → 0.3.20__tar.gz
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.
Potentially problematic release.
This version of process-gpt-agent-sdk might be problematic. Click here for more details.
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/PKG-INFO +1 -1
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/process_gpt_agent_sdk.egg-info/PKG-INFO +1 -1
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/processgpt_agent_sdk/processgpt_agent_framework.py +5 -15
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/pyproject.toml +1 -1
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/README.md +0 -0
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/process_gpt_agent_sdk.egg-info/SOURCES.txt +0 -0
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/process_gpt_agent_sdk.egg-info/dependency_links.txt +0 -0
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/process_gpt_agent_sdk.egg-info/requires.txt +0 -0
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/process_gpt_agent_sdk.egg-info/top_level.txt +0 -0
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/processgpt_agent_sdk/__init__.py +0 -0
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/processgpt_agent_sdk/database.py +0 -0
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/processgpt_agent_sdk/utils.py +0 -0
- {process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/setup.cfg +0 -0
|
@@ -125,7 +125,6 @@ class ProcessGPTRequestContext(RequestContext):
|
|
|
125
125
|
agents, users = users_group
|
|
126
126
|
|
|
127
127
|
logger.info("\n\n🔍 [데이터베이스 조회 결과]")
|
|
128
|
-
logger.info("-" * 60)
|
|
129
128
|
|
|
130
129
|
# Users 정보
|
|
131
130
|
if users:
|
|
@@ -141,11 +140,10 @@ class ProcessGPTRequestContext(RequestContext):
|
|
|
141
140
|
# Agents 정보
|
|
142
141
|
if agents:
|
|
143
142
|
agent_info = []
|
|
144
|
-
for a in agents
|
|
143
|
+
for a in agents:
|
|
145
144
|
name = a.get("name", a.get("agent_name", "Unknown"))
|
|
146
|
-
tools = a.get("tools",
|
|
147
|
-
|
|
148
|
-
tool_str = f"[{', '.join(tool_names)}]" if tool_names else ""
|
|
145
|
+
tools = a.get("tools", "")
|
|
146
|
+
tool_str = f"[{tools}]" if tools else ""
|
|
149
147
|
agent_info.append(f"{name}{tool_str}")
|
|
150
148
|
logger.info("• Agents (%d개): %s%s", len(agents), ", ".join(agent_info), "..." if len(agents) > 5 else "")
|
|
151
149
|
else:
|
|
@@ -178,7 +176,6 @@ class ProcessGPTRequestContext(RequestContext):
|
|
|
178
176
|
summarized_feedback = ""
|
|
179
177
|
if feedback_data:
|
|
180
178
|
logger.info("\n\n📝 [피드백 처리]")
|
|
181
|
-
logger.info("-" * 60)
|
|
182
179
|
logger.info("• %d자 → AI 요약 중...", len(feedback_data))
|
|
183
180
|
summarized_feedback = await summarize_feedback(feedback_data, content_data)
|
|
184
181
|
logger.info("• 요약 완료: %d자", len(summarized_feedback))
|
|
@@ -200,7 +197,6 @@ class ProcessGPTRequestContext(RequestContext):
|
|
|
200
197
|
}
|
|
201
198
|
|
|
202
199
|
logger.info("\n\n🎉 [컨텍스트 준비 완료] 모든 데이터 준비됨")
|
|
203
|
-
logger.info("-"*60)
|
|
204
200
|
|
|
205
201
|
except Exception as e:
|
|
206
202
|
logger.error("❌ [데이터 조회 실패] %s", str(e))
|
|
@@ -240,7 +236,7 @@ class ProcessGPTEventQueue(EventQueue):
|
|
|
240
236
|
try:
|
|
241
237
|
proc_inst_id_val = getattr(event, "contextId", None) or self.proc_inst_id
|
|
242
238
|
todo_id_val = getattr(event, "taskId", None) or str(self.todolist_id)
|
|
243
|
-
logger.info("\n📨 이벤트 수신: %s (task=%s)", type(event).__name__, self.todolist_id)
|
|
239
|
+
logger.info("\n\n📨 이벤트 수신: %s (task=%s)", type(event).__name__, self.todolist_id)
|
|
244
240
|
|
|
245
241
|
# 1) 결과물 저장
|
|
246
242
|
if isinstance(event, TaskArtifactUpdateEvent):
|
|
@@ -391,18 +387,14 @@ class ProcessGPTAgentServer:
|
|
|
391
387
|
|
|
392
388
|
while self.is_running and not self._shutdown_event.is_set():
|
|
393
389
|
try:
|
|
394
|
-
logger.info("\n\n" + "-"*80)
|
|
395
390
|
logger.info("🔍 [폴링 시작] 작업 대기 중... (agent_orch=%s)", self.agent_orch)
|
|
396
|
-
logger.info("-"*80)
|
|
397
391
|
|
|
398
392
|
row = await polling_pending_todos(self.agent_orch, get_consumer_id())
|
|
399
393
|
|
|
400
394
|
if row:
|
|
401
|
-
logger.info("\n\n" + "-"*80)
|
|
402
395
|
logger.info("✅ [새 작업 발견] Task ID: %s", row.get("id"))
|
|
403
396
|
logger.info("• Activity: %s | Tool: %s | Tenant: %s",
|
|
404
397
|
row.get("activity_name"), row.get("tool"), row.get("tenant_id"))
|
|
405
|
-
logger.info("-"*80)
|
|
406
398
|
try:
|
|
407
399
|
self._current_todo_id = str(row.get("id"))
|
|
408
400
|
await self.process_todolist_item(row)
|
|
@@ -453,12 +445,10 @@ class ProcessGPTAgentServer:
|
|
|
453
445
|
|
|
454
446
|
# 2) 실행
|
|
455
447
|
logger.info("\n\n🤖 [Agent Orchestrator 실행]")
|
|
456
|
-
logger.info("-" * 60)
|
|
457
448
|
event_queue = ProcessGPTEventQueue(str(task_id), self.agent_orch, row.get("proc_inst_id"))
|
|
458
449
|
await self.agent_executor.execute(context, event_queue)
|
|
459
450
|
event_queue.task_done()
|
|
460
|
-
logger.info("\n🎉 [Agent Orchestrator 완료] Task ID: %s", task_id)
|
|
461
|
-
logger.info("-"*60)
|
|
451
|
+
logger.info("\n\n🎉 [Agent Orchestrator 완료] Task ID: %s", task_id)
|
|
462
452
|
|
|
463
453
|
except Exception as e:
|
|
464
454
|
logger.error("❌ 작업 처리 중 오류 발생: %s", str(e))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/processgpt_agent_sdk/__init__.py
RENAMED
|
File without changes
|
{process_gpt_agent_sdk-0.3.19 → process_gpt_agent_sdk-0.3.20}/processgpt_agent_sdk/database.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|