Auto-GPT-Plugins icon indicating copy to clipboard operation
Auto-GPT-Plugins copied to clipboard

Bluesky integration

Open hermanschutte opened this issue 2 years ago • 6 comments

This plugin allows Auto-GPT to retrieve posts from Bluesky and create new posts. With Twitter becoming much stricter with developer apps, Bluesky is a good alternative.

hermanschutte avatar May 02 '23 15:05 hermanschutte

This is a mass message from the AutoGPT core team to all open Plugin-PRs

We're in the process of re-architecting: https://github.com/Significant-Gravitas/Auto-GPT/wiki/Architecting

Please be patient as we work to clean up the AutoGPT core.

If you already have an existing plug-in that’s affected, please message @ntindle on Discord so we can get your plugin spinning on the new architecture.

If you're working on a plugin, please bear in mind that one of our primary goals in re-architecting is to make life MUCH easier for you. We've taken aboard feedback from plugin developers. We're on it, so please give us some time!

<3 The AutoGPT Team

p-i- avatar May 06 '23 01:05 p-i-

Consider https://github.com/marshalX/atproto over the library chosen as the library chosen breaks Python conventions.

ntindle avatar May 10 '23 01:05 ntindle

@ntindle thank you. I've switched the plugin to use the atproto library.

hermanschutte avatar May 10 '23 12:05 hermanschutte

It looks like one of your tests failed. Can you take a look?

ntindle avatar May 10 '23 17:05 ntindle

It wants to post images to bluesky, which is funny and may be worth supporting in the next pr

cce90813-dabf-4051-a70d-5ae2702954b4 This is the image it generated to post btw

ntindle avatar May 10 '23 17:05 ntindle

It wants to post images to bluesky, which is funny and may be worth supporting in the next pr

cce90813-dabf-4051-a70d-5ae2702954b4 This is the image it generated to post btw

Good idea. Will definitely add it to the next PR 👍

hermanschutte avatar May 11 '23 11:05 hermanschutte

Would you take a look at the CI failure?

https://github.com/Significant-Gravitas/Auto-GPT-Plugins/actions/runs/4936955336/jobs/8830687797?pr=97

ntindle avatar May 12 '23 04:05 ntindle

Would you take a look at the CI failure?

https://github.com/Significant-Gravitas/Auto-GPT-Plugins/actions/runs/4936955336/jobs/8830687797?pr=97

I'm getting this error when running the tests:

_ ERROR collecting src/autogpt_plugins/bluesky/bluesky_plugin/test_bluesky_plugin.py _
ImportError while importing test module '/home/runner/work/Auto-GPT-Plugins/Auto-GPT-Plugins/src/autogpt_plugins/bluesky/bluesky_plugin/test_bluesky_plugin.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
src/autogpt_plugins/bluesky/bluesky_plugin/test_bluesky_plugin.py:2: in <module>
    from .bluesky_plugin import (
E   ImportError: attempted relative import with no known parent package

Hi. No idea why it would be complaining about the module names? It matches the format of the other plugins as far as I can tell. Any ideas?

hermanschutte avatar May 12 '23 06:05 hermanschutte

Codecov Report

Patch coverage: 62.03% and project coverage change: -0.35 :warning:

Comparison is base (8728ac8) 67.38% compared to head (1aa2990) 67.04%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
- Coverage   67.38%   67.04%   -0.35%     
==========================================
  Files          24       27       +3     
  Lines        1573     1681     +108     
  Branches      185      188       +3     
==========================================
+ Hits         1060     1127      +67     
- Misses        494      534      +40     
- Partials       19       20       +1     
Impacted Files Coverage Δ
src/autogpt_plugins/bluesky/__init__.py 49.12% <49.12%> (ø)
...t_plugins/bluesky/bluesky_plugin/bluesky_plugin.py 67.74% <67.74%> (ø)
...gins/bluesky/bluesky_plugin/test_bluesky_plugin.py 90.00% <90.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar May 12 '23 07:05 codecov[bot]