Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Fix issue #345: Add warnings for migration
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Nov 15, 2024
1 parent 95d5dd7 commit d1dff79
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/openhands-resolver.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Resolve Issue with OpenHands

# ALERT: message from your friendly neighborhood code agent -> this is an old version of the OpenHands github resolver. It has been moved to https://github.com/All-Hands-AI/OpenHands/tree/main/openhands/resolver

on:
issues:
types: [labeled]
Expand Down
10 changes: 10 additions & 0 deletions openhands_resolver/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
__version__ = "0.3.1"

import warnings

warnings.warn(
"\nDEPRECATION WARNING: This is an old version of the OpenHands resolver. "
"It has been moved to https://github.com/All-Hands-AI/OpenHands/tree/main/openhands/resolver\n"
"Please update your dependencies to use the new version.",
DeprecationWarning,
stacklevel=2
)

0 comments on commit d1dff79

Please sign in to comment.