anthropic: docstrings (#23145)

Added missed docstrings. Format docstrings to the consistent format
(used in the API Reference)
This commit is contained in:
Leonid Ganeline
2024-06-18 19:26:45 -07:00
committed by GitHub
parent 90559fde70
commit 3dfd055411
4 changed files with 13 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ def _get_type(parameter: Dict[str, Any]) -> str:
def get_system_message(tools: List[Dict]) -> str:
"""Generate a system message that describes the available tools."""
tools_data: List[Dict] = [
{
"tool_name": tool["name"],