Skip to content

Commit

Permalink
Added updated prompt and fixed initial prompt telemtry set in SpecWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
matija-ilijas committed Jul 30, 2024
1 parent 61a0b43 commit 5595016
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/agents/spec_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ async def initialize_spec(self) -> AgentResponse:
self.next_state.specification.original_description = user_description
self.next_state.specification.description = reviewed_spec
self.next_state.specification.complexity = complexity
telemetry.set("initial_prompt", reviewed_spec)
telemetry.set("initial_prompt", user_description)
telemetry.set("updated_prompt", reviewed_spec)
telemetry.set("is_complex_app", complexity != Complexity.SIMPLE)

self.next_state.action = SPEC_STEP_NAME
Expand Down

0 comments on commit 5595016

Please sign in to comment.