-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
PuterBot-46: Add Publishing using magic-wormhole #64
Conversation
…egy using example rail specification
…pec with another example
…d custom parser for llm output, and play input events
Let's replace |
…e you push to any branch
…d added check for windows and mac in github actions script
@abrichr What should the path of config.RECORDING_DIR_PATH be? Right now I'be broken down the tasks into the following:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@abrichr Currently, I am successful in sending a compressed zipped file using magic-wormhole! This image is for sending the zipped file, it includes zipping the recording screenshots --> sending the zipped file in a wormhole --> completes when the zipped file is receieved. Question/Issue:
|
…ing filtered db file, and added data directory for zipped and non zipped db files
@abrichr Currently, I am using magic-wormhole to transfer the entire database file. I attempted to create a new database file and add the recording to it, but encountered errors in the process. It appears that there is a workaround available by marking the recording as transient and adding it to the new database. However, this approach removes the recording from the old database, which is not the desired outcome. As a temporary solution, we can continue sending the entire database file. What are your thoughts on this? |
@Mustaballer can you please clarify what it means to make a recording as transient? I think what we want is this:
puterbot/config.py:
alembic/env.py:
Altogether:
Untested and needs refactoring :) |
Hi @Mustaballer what is the status of this? |
The current status is still in progress. The next steps are
|
@abrichr I resolved the issue with creating a new db file, the issue I currently face is importing the recording to the new db file. This code executes a SQL query on the db, however it doesn't actually import the data def run_sql(sql):
with db.engine.connect() as con:
result = con.execute(sql)
for row in result:
logger.info(f"{row=}") |
Will close this PR, and open a new one without all the formatting changes |
Overview
Unit Tests Created
Steps to QA
python -m puterbot.share send --recording_id=1
puterbot/puterbot/recordings
and navigate to itpython -m puterbot.share receive --wormhole_code=<wormhole_code>