(&self)
| 4967 | |
| 4968 | impl Clone for PySessionOptions { |
| 4969 | fn clone(&self) -> Self { |
| 4970 | Self { |
| 4971 | model: self.model.clone(), |
| 4972 | builtin_skills: self.builtin_skills, |
| 4973 | skill_dirs: self.skill_dirs.clone(), |
| 4974 | enforce_active_skill_tool_restrictions: self.enforce_active_skill_tool_restrictions, |
| 4975 | agent_dirs: self.agent_dirs.clone(), |
| 4976 | worker_agents: self.worker_agents.clone(), |
| 4977 | queue_config: self.queue_config.clone(), |
| 4978 | permission_policy: self.permission_policy.clone(), |
| 4979 | confirmation_policy: self.confirmation_policy.clone(), |
| 4980 | auto_compact: self.auto_compact, |
| 4981 | auto_compact_threshold: self.auto_compact_threshold, |
| 4982 | artifact_store_limits: self.artifact_store_limits.clone(), |
| 4983 | memory_store: pyo3::Python::with_gil(|py| { |
| 4984 | self.memory_store.as_ref().map(|o| o.clone_ref(py)) |
| 4985 | }), |
| 4986 | session_store: pyo3::Python::with_gil(|py| { |
| 4987 | self.session_store.as_ref().map(|o| o.clone_ref(py)) |
| 4988 | }), |
| 4989 | security_provider: pyo3::Python::with_gil(|py| { |
| 4990 | self.security_provider.as_ref().map(|o| o.clone_ref(py)) |
| 4991 | }), |
| 4992 | workspace_backend: pyo3::Python::with_gil(|py| { |
| 4993 | self.workspace_backend.as_ref().map(|o| o.clone_ref(py)) |
| 4994 | }), |
| 4995 | remote_git: self.remote_git.clone(), |
| 4996 | role: self.role.clone(), |
| 4997 | guidelines: self.guidelines.clone(), |
| 4998 | response_style: self.response_style.clone(), |
| 4999 | extra: self.extra.clone(), |
| 5000 | inline_skills: self.inline_skills.clone(), |
| 5001 | max_tool_rounds: self.max_tool_rounds, |
| 5002 | max_parallel_tasks: self.max_parallel_tasks, |
| 5003 | auto_delegation: self.auto_delegation.clone(), |
| 5004 | auto_parallel: self.auto_parallel, |
| 5005 | planning_mode: self.planning_mode.clone(), |
| 5006 | planning: self.planning, |
| 5007 | goal_tracking: self.goal_tracking, |
| 5008 | max_parse_retries: self.max_parse_retries, |
| 5009 | tool_timeout_ms: self.tool_timeout_ms, |
| 5010 | circuit_breaker_threshold: self.circuit_breaker_threshold, |
| 5011 | temperature: self.temperature, |
| 5012 | thinking_budget: self.thinking_budget, |
| 5013 | continuation_enabled: self.continuation_enabled, |
| 5014 | max_continuation_turns: self.max_continuation_turns, |
| 5015 | max_execution_time_ms: self.max_execution_time_ms, |
| 5016 | session_id: self.session_id.clone(), |
| 5017 | tenant_id: self.tenant_id.clone(), |
| 5018 | principal: self.principal.clone(), |
| 5019 | agent_template_id: self.agent_template_id.clone(), |
| 5020 | correlation_id: self.correlation_id.clone(), |
| 5021 | auto_save: self.auto_save, |
| 5022 | ahp_transport: pyo3::Python::with_gil(|py| { |
| 5023 | self.ahp_transport.as_ref().map(|o| o.clone_ref(py)) |
| 5024 | }), |
| 5025 | budget_guard: pyo3::Python::with_gil(|py| { |
| 5026 | self.budget_guard.as_ref().map(|o| o.clone_ref(py)) |
no outgoing calls