def get_api_config(model: BaseEmbeddingModel) -> dict[str, Any]:
        """Get Pinecone API configuration for the model."""
        config = model.get_model_config()
        headers = model.get_headers()

        return {
            "api_config": {"headers": headers, "timeout": 10},  # Default timeout in seconds
            "model_config": config,
        }
Get Pinecone API configuration for the model.
backend/airweave/platform/embedding_models/_adapters.py