FIX Redundant code block in run_agent_with_retry
This commit is contained in:
parent
9f3e6b9ae8
commit
0ae6bea9d5
|
|
@ -697,9 +697,8 @@ def run_agent_with_retry(
|
|||
return f"Agent has crashed: {crash_message}"
|
||||
|
||||
try:
|
||||
# Ensure messages have thinking blocks if needed before each run
|
||||
# Check if we need to ensure thinking blocks
|
||||
config = get_config_repository().get_all()
|
||||
if is_anthropic_claude(config):
|
||||
provider = config.get("provider", "")
|
||||
model_name = config.get("model", "")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue