# resolve_command_run_config

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_helpers/resolve_command_run_config)

Normalize a per-command run_config, rejecting the deprecated pairing.

The server answers 400 for a request carrying both spellings rather than
letting one silently win, so refuse it here where the message can name
the replacement.

## Signature

```python
resolve_command_run_config(
    run_config: Any,
    *,
    env: Optional[dict[str, str]],
    cwd: Optional[str],
) -> Optional[dict[str, Any]]
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/3114edff2f41e5989724f27c0b37d3f69c6f198c/python/langsmith/sandbox/_helpers.py#L56)