def _prepare_api_params()

in agents/agent.py [0:0]


    def _prepare_api_params(self) -> dict[str, Any]:
        """Prepare parameters for Claude API call."""
        # Use system prompt directly without prefixing
        return {
            "model": self.config.model,
            "max_tokens": self.config.max_tokens,
            "temperature": self.config.temperature,
            "system": self.system,
            "messages": self.history.format_for_api(),
            "tools": [tool.to_dict() for tool in self.tools],
        }