mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-29 01:41:38 +00:00
refactor(dreamer): split long description string across multiple lines
This commit is contained in:
parent
e16b52e68b
commit
1cbaf5a2cf
3 changed files with 5 additions and 1 deletions
|
|
@ -424,7 +424,8 @@ class Dreamer(BaseStep):
|
|||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"description": "body (markdown; no frontmatter — name/description go in the fields above)",
|
||||
"description": "body (markdown; no frontmatter "
|
||||
"— name/description go in the fields above)",
|
||||
},
|
||||
},
|
||||
"required": ["path", "name", "description", "content"],
|
||||
|
|
|
|||
|
|
@ -250,6 +250,7 @@ def seed_vault(vault: Path) -> list[str]:
|
|||
return seeded
|
||||
|
||||
|
||||
# pylint: disable=missing-function-docstring
|
||||
def main() -> None:
|
||||
if len(sys.argv) < 2:
|
||||
print(f"usage: {sys.argv[0]} <vault_dir>", file=sys.stderr)
|
||||
|
|
|
|||
|
|
@ -32,12 +32,14 @@ SMOKE_DIR = Path(__file__).resolve().parent
|
|||
sys.path.insert(0, str(REPO_ROOT))
|
||||
sys.path.insert(0, str(SMOKE_DIR))
|
||||
|
||||
# pylint: disable=wrong-import-position
|
||||
from _dreamer_fixture import clean_vault, seed_vault, INPUT_PATH # noqa: E402
|
||||
|
||||
VAULT = os.environ.get("VAULT_PATH", "/tmp/reme-dreamer-test")
|
||||
|
||||
|
||||
async def main() -> None:
|
||||
"""Main function for testing the ReMeFs CLI."""
|
||||
from reme4 import ReMe # noqa: E402
|
||||
from reme4.config import resolve_app_config # noqa: E402
|
||||
from reme4.utils import load_env # noqa: E402
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue