The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
style(model-profiles): lint (#34864)
Mason Daugherty703d170a4a1f
diff --git a/libs/model-profiles/README.md b/libs/model-profiles/README.mdindex eb9e662e82..d7d0992cb8 100644--- a/libs/model-profiles/README.md+++ b/libs/model-profiles/README.md@@ -30,7 +30,7 @@ LangChain model profiles augment the data from models.dev with some additional f## 📖 Documentation-For full documentation, see the [API reference](https://reference.langchain.com/python/langchain_model_profiles/). For conceptual guides, tutorials, and examples on using LangChain, see the [LangChain Docs](https://docs.langchain.com/oss/python/langchain/overview).+For full documentation, see the [API reference](https://reference.langchain.com/python/langchain_model_profiles/). For conceptual guides, tutorials, and examples on using LangChain, see the [LangChain Docs](https://docs.langchain.com/oss/python/langchain/overview). You can also chat with the docs using [Chat LangChain](https://chat.langchain.com).## Usagediff --git a/libs/model-profiles/langchain_model_profiles/cli.py b/libs/model-profiles/langchain_model_profiles/cli.pyindex bdb65a3f59..772793f4df 100644--- a/libs/model-profiles/langchain_model_profiles/cli.py+++ b/libs/model-profiles/langchain_model_profiles/cli.py@@ -56,13 +56,13 @@ def _validate_data_dir(data_dir: Path) -> Path:def _load_augmentations(data_dir: Path,) -> tuple[dict[str, Any], dict[str, dict[str, Any]]]:- """Load augmentations from profile_augmentations.toml.+ """Load augmentations from `profile_augmentations.toml`.Args:- data_dir: Directory containing profile_augmentations.toml.+ data_dir: Directory containing `profile_augmentations.toml`.Returns:- Tuple of (provider_augmentations, model_augmentations).+ Tuple of `(provider_augmentations, model_augmentations)`."""aug_file = data_dir / "profile_augmentations.toml"if not aug_file.exists():@@ -213,9 +213,9 @@ def refresh(provider: str, data_dir: Path) -> None: # noqa: C901, PLR0915"""Download and merge model profile data for a specific provider.Args:- provider: Provider ID from models.dev (e.g., 'anthropic', 'openai').- data_dir: Directory containing profile_augmentations.toml and where profiles.py- will be written.+ provider: Provider ID from models.dev (e.g., `'anthropic'`, `'openai'`).+ data_dir: Directory containing `profile_augmentations.toml` and where+ `profiles.py` will be written."""# Validate and canonicalize data directory pathdata_dir = _validate_data_dir(data_dir)