Skip to content

[Bug]: #86

Description

@gramygoal

Do you need to file an issue?

  • I have searched the existing issues and this bug is not already filed.
  • I believe this is a legitimate bug, not just a question or feature request.

Describe the bug

2025-11-24 14:44:02,327 - INFO - Concise Memory Agent initialized with target directory: E:\program\DeepCode\deepcode_lab\papers\chat_project_1763966602
2025-11-24 14:44:02,328 - INFO - Code directory: E:\program\DeepCode\deepcode_lab\papers\chat_project_1763966602\generate_code
2025-11-24 14:44:02,328 - INFO - Code summary will be saved to: E:\program\DeepCode\deepcode_lab\papers\chat_project_1763966602\implement_code_summary.md
2025-11-24 14:44:02,328 - INFO - 📝 NEW LOGIC: Memory clearing triggered after each write_file call
.. Tokens | usage 3,018 tokens | $0.0010
Finished | StructureGeneratorAgent / Elapsed Time 00:00:16
.. Calling Tool | CodeImplementationAgent code-implementation (set_workspace)2025-11-24 14:45:02,343 - INFO - HTT . Tokens | usage 3,018 tokens | $0.0010
Finished | StructureGeneratorAgent / Elapsed Time 00:00:16
. Calling Tool | CodeImplementationAgent code-implementation (set_workspace)2025-11-24 14:46:02,827 - INFO - HTT. Tokens | usage 3,018 tokens | $0.0010
Finished | StructureGeneratorAgent / Elapsed Time 00:00:16
. Tokens | usage 3,018 tokens | $0.0010
Finished | StructureGeneratorAgent / Elapsed Time 00:00:16
. Calling Tool | CodeImplementationAgent code-implementation (set_workspace)2025-11-24 14:47:51,364 - INFO - HTT... Tokens | usage 3,018 tokens | $0.0010
Finished | StructureGeneratorAgent / Elapsed Time 00:00:16
... Calling Tool | CodeImplementationAgent code-implementation (set_workspace)2025-11-24 14:48:51,847 - INFO - HTT.. Tokens | usage 3,018 tokens | $0.0010
Finished | StructureGeneratorAgent / Elapsed Time 00:00:16

❌ Unexpected API Error (attempt 1/3):
Error type: InternalServerError

⏳ Retrying in 2 seconds... Tokens | usage 3,018 tokens | $0.0010 Finished | StructureGeneratorAgent / Elapsed Time 00:00:16 Calling Tool | CodeImplementationAgent code-implementation (set_workspace)2025-11-24 14:50:54,767 - INFO - HTT... Tokens | usage 3,018 tokens | $0.0010 Finished | StructureGeneratorAgent / Elapsed Time 00:00:16 ... Calling Tool | CodeImplementationAgent code-implementation (set_workspace)2025-11-24 14:51:55,278 - INFO - HTT.. Tokens | usage 3,018 tokens | $0.0010 Finished | StructureGeneratorAgent / Elapsed Time 00:00:16

❌ Unexpected API Error (attempt 2/3):
Error type: InternalServerError

⏳ Retrying in 4 seconds... .. Tokens | usage 3,018 tokens | $0.0010 Finished | StructureGeneratorAgent / Elapsed Time 00:00:16 .. Calling Tool | CodeImplementationAgent code-implementation (set_workspace)2025-11-24 14:54:00,343 - INFO - HTT Tokens | usage 3,018 tokens | $0.0010 Finished | StructureGeneratorAgent / Elapsed Time 00:00:16 Calling Tool | CodeImplementationAgent code-implementation (set_workspace)2025-11-24 14:55:00,750 - INFO - HTT . Tokens | usage 3,018 tokens | $0.0010 Finished | StructureGeneratorAgent / Elapsed Time 00:00:16

❌ Unexpected API Error (attempt 3/3):
Error type: InternalServerError

❌ All retries exhausted . Tokens | usage 3,018 tokens | $0.0010 Finished | StructureGeneratorAgent / Elapsed Time 00:00:16 . Calling Tool | CodeImplementationAgent code-implementation (set_workspace)2025-11-24 14:56:01,708 - ERROR - LLM call failed: <title>504 Gateway Time-out</title>

504 Gateway Time-out


nginx/1.28.0 [INFO] 2025-11-24T14:56:01 mcp_agent.mcp.mcp_aggregator.CodeImplementationAgent - Last aggregator closing, shutting down all persistent connections... [INFO] 2025-11-24T14:56:01 mcp_agent.mcp.mcp_connection_manager - Disconnecting all persistent server connections... [INFO] 2025-11-24T14:56:01 mcp_agent.mcp.mcp_connection_manager - code-implementation: Requesting shutdown... [INFO] 2025-11-24T14:56:01 mcp_agent.mcp.mcp_connection_manager - code-reference-indexer: Requesting shutdown... [INFO] 2025-11-24T14:56:01 mcp_agent.mcp.mcp_connection_manager - All persistent server connections signaled to disconnect. ... Tokens | usage 3,018 tokens | $0.0010 Finished | StructureGeneratorAgent / Elapsed Time 00:00:16 ... Calling Tool | CodeImplementationAgent code-implementation (set_workspace)2025-11-24 14:56:02,435 - INFO - MCP agent connection closed 2025-11-24 14:56:02,436 - ERROR - Workflow execution failed: <title>504 Gateway Time-out</title>

504 Gateway Time-out


nginx/1.28.0 .. Tokens | usage 3,018 tokens | $0.0010 Finished | StructureGeneratorAgent / Elapsed Time 00:00:16 .. Calling Tool | CodeImplementationAgent code-implementation (set_workspace)

Steps to reproduce

No response

Expected Behavior

No response

DeepCode Config Used

Paste your config here

Logs and screenshots

No response

Additional Information

  • DeepCode Version:
  • Operating System:
  • Python Version:
  • Related Issues:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions