Pythagora-io / gpt-pilot

The first real AI developer
Other
29.06k stars 2.91k forks source link

[Bug]: AttributeError: 'SpecWriter' object has no attribute 'telemetry' #1017

Closed data-science101 closed 4 days ago

data-science101 commented 2 weeks ago

Version

Command-line (Python) version

Operating System

MacOS

What happened?

After inserting all prompts and confirming information with the agent, I get the following traceback:

[Pythagora] Stopping Pythagora due to error:

File core/cli/main.py, line 37, in run_project success = await orca.run() File core/agents/orchestrator.py, line 67, in run response = await agent.run() File core/agents/spec_writer.py, line 66, in run spec = await self.analyze_spec(spec) File core/agents/spec_writer.py, line 128, in analyze_spec await self.telemetry.trace_code_event( AttributeError: 'SpecWriter' object has no attribute 'telemetry'

Python 3.10.11 (built from source)

littlejacky commented 2 weeks ago

I encountered the same problem on Windows.

LeonOstrez commented 4 days ago

This issue should be resolved with https://github.com/Pythagora-io/gpt-pilot/commit/96cc7ee3b2c91afbd5671e1af0b8f81c41ab51b7