-
Notifications
You must be signed in to change notification settings - Fork 88
Opacity Plugin #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Opacity Plugin #65
Conversation
Hey @benliang99, sorry to miss your PR out for some times, I'll be following-up on this. However, would need your help to rebase your changes to our latest branch and attach your PR according to our new PR template accessible via https://github.com/game-by-virtuals/game-python/blob/main/.github/PULL_REQUEST_TEMPLATE/plugin.md. Thanks for the contribution! |
while True: | ||
time.sleep(1) | ||
except KeyboardInterrupt: | ||
print("Shutting down...") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print("Shutting down...") | |
print("Shutting down...") | |
Add one empty line EOF to comply with POSIX standard
if not verification.get("success"): | ||
raise Exception("Proof is invalid") | ||
|
||
return verification["success"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return verification["success"] | |
return verification["success"] | |
addopts = "-ra -q --cov=opacity_game_sdk" | ||
testpaths = [ | ||
"tests", | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
] | |
] | |
@@ -68,7 +68,7 @@ def __init__(self, options: Dict[str, Any]) -> None: | |||
raise ValueError("Twitter API credentials are required.") | |||
|
|||
self.twitter_client: tweepy.Client = tweepy.Client( | |||
bearer_token = credentials.get("bearerToken"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems like an out of scope change, please remove, thanks!
Hi @benliang99 , gentle reminder on this - can you please look into incorporating the suggested changes? |
The Opacity plugin provides integration with the Opacity protocol for verifying AI inference proofs. It includes functionality for verifying proofs and interacting with Twitter for automated verification responses.
For a complete example implementation with an agent, see: https://github.com/SeraphAgent/ProofOfAutonomy.