cog
Rename predict to run
#2925
Closed

Rename predict to run #2925

markphelps wants to merge 19 commits into main from predict-rename
markphelps
markphelps feat: reclaim 'cog run' for predictions, deprecate 'cog predict'
0268e213
markphelps feat: support 'run:' key in cog.yaml alongside 'predict:'
7e339573
markphelps feat: add BaseRunner with run() method to Python SDK
f855a393
markphelps feat: detect run() vs predict() in Rust coglet
11c70986
markphelps feat: schema parser tries run() before predict()
e2170844
markphelps feat: cog init generates run.py with BaseRunner
de3141c8
markphelps test: rename predict->run in integration tests
3d5c6e0e
markphelps test: add backwards compatibility integration tests
ce50efd1
markphelps docs: update all docs to use run/Runner/BaseRunner as primary
311a07d5
markphelps chore: regenerate CLI docs, llms.txt, and apply rust fmt
5d86228d
markphelps fix: walk MRO for method detection, fix return type, warn on ambiguou…
20b28b67
markphelps fix: revert legacy test, use &'static str for method name, fix wsl2 docs
e118403b
markphelps fix: review cleanup - validation, schema desc, template comment, MRO …
1af85f08
markphelps fix: remove needless borrows after &'static str change
222a226b
michaeldwan
markphelps merge: resolve conflict with main (setup_is_async + predict_method_name)
b4b57944
markphelps refactor: collapse BaseRunner/BasePredictor into single class with alias
7baa3e55
ask-bonk
ask-bonk commented on 2026-04-10
ask-bonk
markphelps fix: CI failures - update test assertion, fix no_predictor match, rus…
98260692
ask-bonk
ask-bonk commented on 2026-04-10
ask-bonk
markphelps markphelps marked this pull request as ready for review 55 days ago
markphelps markphelps requested a review 55 days ago
markphelps fix: address review findings (2 medium, 5 low)
6728a5af
markphelps markphelps requested a review from michaeldwan michaeldwan 55 days ago
ask-bonk
michaeldwan fix: tighten no_predictor test assertion, mark predict schema deprecated
2fc8930a
ask-bonk
markphelps markphelps closed this 27 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone