Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

ruff fix applied

Arbaaz-Mahmood538530117409
diff --git a/dsp/modules/anthropic.py b/dsp/modules/anthropic.py
index 9c1acb4ed..3d7d76c90 100644
--- a/dsp/modules/anthropic.py
+++ b/dsp/modules/anthropic.py
@@ -1,7 +1,9 @@
import logging
import os
from typing import Any, Optional
+
import backoff
+
from dsp.modules.lm import LM
try: