Skip to content

Conversation

@MarcusWentz
Copy link

@MarcusWentz MarcusWentz commented Jan 19, 2026

Description

fix autopilot command errors with new inputs

Changes

  • fix autopilot command errors with new inputs

Related Issues

cowprotocol/services#4063
cowprotocol/services#4064

Summary by CodeRabbit

  • Documentation
    • Updated tutorial docs: autopilot invocation uses a structured driver descriptor format and clearer shell-style command blocks with explicit line continuations.
    • Expanded driver configuration examples to include additional fields (address and value placeholders) in the --drivers argument.
    • Updated shadow/proxy endpoint in examples to https://barn.api.cow.fi/mainnet.

✏️ Tip: You can customize this high-level summary in your review settings.

@MarcusWentz MarcusWentz requested a review from a team as a code owner January 19, 2026 18:16
@vercel
Copy link

vercel bot commented Jan 19, 2026

@MarcusWentz is attempting to deploy a commit to the cow Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

github-actions bot commented Jan 19, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 19, 2026

📝 Walkthrough

Walkthrough

Updated tutorial docs: command examples reformatted with explicit shell continuations; native price estimator descriptor changed to Driver|baseline|http://driver/baseline; --drivers entries expanded to include address and value fields; shadow endpoint switched to https://barn.api.cow.fi/mainnet.

Changes

Cohort / File(s) Change Summary
Documentation / Tutorial
docs/cow-protocol/tutorials/solvers/local_test.md
Reformatted shell command blocks with explicit backslash continuations; changed native price estimator descriptor from `baseline

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 I hopped through docs with a curious stare,

I added backslashes and tidied the air,
"Driver" now leads where "baseline" would roam,
Addresses and zeros found their new home,
Barn API whispers, and the tutorial's known.

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Description check ❓ Inconclusive The description lacks detail in the Changes section; it merely repeats the title rather than explaining how the autopilot command was fixed or listing specific updates made. Expand the Changes section with specific details about the autopilot updates, driver specification changes, and API endpoint modifications to clarify what was altered and why.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'fix autopilot command errors with new inputs' directly aligns with the main change—updating autopilot command invocations with new parameter formats and API endpoint.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@MarcusWentz
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Jan 19, 2026
Updated the shadow API URL in the local test tutorial.
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@docs/cow-protocol/tutorials/solvers/local_test.md`:
- Line 30: The example uses the staging shadow endpoint (--shadow
https://barn.api.cow.fi/mainnet) while the prose calls it a “production
orderbook”; update the wording or the example so they match — either change the
earlier text to say “staging orderbook” (or “staging shadow endpoint”) or
replace the example URL with the production shadow endpoint (i.e., swap the
--shadow URL to the production endpoint) so the documentation is consistent;
locate the literal "--shadow https://barn.api.cow.fi/mainnet" in the tutorial
and update the surrounding sentence or the URL accordingly.
- Around line 26-31: The CLI examples use malformed argument formats: update the
--native-price-estimators and --drivers values to be simple name|url pairs per
autopilot docs; replace --native-price-estimators
"Driver|baseline|http://driver/baseline" with --native-price-estimators
"baseline|http://driver/baseline" and replace --drivers
"mysolver1|http://localhost:11088|0x0000000000000000000000000000000000000000|0"
with --drivers "mysolver1|http://localhost:11088" so both flags supply only
name|url entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant