Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prompting/baseminer/miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def priority(self, synapse: Prompting) -> float:
"""
Define how miners should prioritize requests.

Miners may recieve messages from multiple entities at once. This function
Miners may receive messages from multiple entities at once. This function
determines which request should be processed first. Higher values indicate
that the request should be processed first. Lower values indicate that the
request should be processed later.
Expand Down
2 changes: 1 addition & 1 deletion prompting/baseminer/priority.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def priority(self, func: Callable, synapse: Prompting) -> float:
priority = default_priority(self, synapse)

except Exception as e:
# An error occured in the subclass priority function.
# An error occurred in the subclass priority function.
bt.logging.error(f"Error in priority function: {e}")

finally:
Expand Down