Skip to content

Commit e0d0a9f

Browse files
committed
fix clean commands
1 parent 800cd45 commit e0d0a9f

7 files changed

Lines changed: 12 additions & 13 deletions

File tree

.pipelex/inference/deck/cocode_deck.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

cocode/pipelex_libraries/pipelines/doc_proofread/doc_proofread.plx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ inputs = { doc_file = "DocumentationFile", repo_map = "RepositoryMap" }
1818
output = "FilePath"
1919
multiple_output = true
2020
llm = "llm_for_large_text"
21+
structuring_method = "preliminary_text"
22+
llm_to_structure = "cheap_llm_for_object"
2123
system_prompt = """
2224
Extract code elements mentioned in docs (classes, functions, commands) and find their actual implementations or usages in the codebase.
2325
"""

cocode/pipelex_libraries/pipelines/doc_proofread/file_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def read_file_content(working_memory: WorkingMemory) -> ListContent[CodebaseFile
6868
codebase_files.append(
6969
CodebaseFileContent(file_path=file_path.path, file_content=f"# File not found or unreadable: {file_path.path}\n# Error: {str(e)}")
7070
)
71+
print("codebase_files", codebase_files)
7172

7273
return ListContent[CodebaseFileContent](items=codebase_files)
7374

cocode/validation_cli.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
import typer
88
from pipelex import log
9-
from pipelex.pipe_works.pipe_dry import dry_run_all_pipes
9+
from pipelex.hub import get_pipe_provider
10+
from pipelex.pipe_works.pipe_dry import dry_run_pipes
1011
from pipelex.pipelex import Pipelex
1112

1213
validation_app = typer.Typer(
@@ -21,14 +22,14 @@
2122
def validate() -> None:
2223
"""Run the setup sequence and validate all pipelines."""
2324
Pipelex.get_instance().validate_libraries()
24-
asyncio.run(dry_run_all_pipes())
25+
asyncio.run(dry_run_pipes(get_pipe_provider().get_pipes()))
2526
log.info("Setup sequence passed OK, config and pipelines are validated.")
2627

2728

2829
@validation_app.command("dry-run")
2930
def dry_run() -> None:
3031
"""Run dry validation of all pipelines without full setup."""
31-
asyncio.run(dry_run_all_pipes())
32+
asyncio.run(dry_run_pipes(get_pipe_provider().get_pipes()))
3233
log.info("Dry run completed successfully.")
3334

3435

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ classifiers = [
1616
"Operating System :: OS Independent",
1717
]
1818

19-
dependencies = ["pipelex[anthropic,google,bedrock]>=0.10.2", "PyGithub==2.4.0"]
19+
dependencies = ["pipelex[anthropic,google,google-genai,bedrock]==0.10.2", "PyGithub==2.4.0"]
2020

2121
[project.optional-dependencies]
2222
docs = [

tests/integration/test_basic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import asyncio
22

3-
from pipelex.hub import get_required_concept
4-
from pipelex.pipe_works.pipe_dry import dry_run_all_pipes
3+
from pipelex.hub import get_pipe_provider, get_required_concept
4+
from pipelex.pipe_works.pipe_dry import dry_run_pipes
55

66

77
def test_boot():
@@ -15,4 +15,4 @@ def test_concept_exists():
1515
def test_dry_run_all_pipes():
1616
"""Test that dry_run_all_pipes() runs successfully without errors."""
1717
# This should not raise any exceptions
18-
asyncio.run(dry_run_all_pipes())
18+
asyncio.run(dry_run_pipes(get_pipe_provider().get_pipes()))

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)