Skip to content

Commit 5ab5d99

Browse files
committed
fix type
1 parent f62bc60 commit 5ab5d99

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

dspy/predict/code_act.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
2-
from inspect import Signature
31
import logging
42
import inspect
5-
from typing import Callable, Union
63

7-
from litellm import Type
4+
from typing import Callable, Union, Type
5+
from inspect import Signature
6+
87
import dspy
98
from dspy.primitives.python_interpreter import PythonInterpreter
109
from dspy.primitives.tool import Tool
@@ -29,7 +28,7 @@ def __init__(self, signature: Union[str, Type[Signature]], tools: list[Callable]
2928
max_iters (int): The maximum number of iterations to generate the answer.
3029
3130
Example:
32-
31+
3332
```python
3433
from dspy.predict import CodeAct
3534
def factorial(n):

0 commit comments

Comments
 (0)