Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 284a01a

Browse filesBrowse files
committed
Fix: deleted some unnecessary breakpoints on relative agent
2 parents 7255ea1 + 3760c69 commit 284a01a
Copy full SHA for 284a01a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎models/relationalAgent/relationalAgentGPT.py‎

Copy file name to clipboardExpand all lines: models/relationalAgent/relationalAgentGPT.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ async def getRelationalResponse(self,data,move):
415415
if data["state"]["on_board"].get(piece_to_move) == None:
416416
piece_to_move_location = "off_board"
417417

418-
breakpoint()
418+
#breakpoint()
419419
# There is an edge case where multiple pieces have the same vector direction, we must find a common starting coordinate and apply the vector
420420
is_all_same_direction = True
421421
first_direction = relational_play_parts[1]
@@ -444,7 +444,7 @@ async def getRelationalResponse(self,data,move):
444444
rotationDegrees = (int(relational_play_parts[pairs_iterator])) + data["state"][piece_to_move_location][piece_to_move]["rotation"]
445445

446446

447-
breakpoint() #-- DEBUG
447+
#breakpoint() #-- DEBUG
448448

449449
# CASE WHENEVER MORE THAN 1 REFERENCE PIECE IS USED, BUT ALL TOWARDS THE SAME DIRECTION
450450
if len(direction_and_related_piece.keys()) > 1 and is_all_same_direction:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.