Skip to content

Commit

Permalink
fix: remove unused Literal and Mapping imports from anthropic and ope…
Browse files Browse the repository at this point in the history
…nai modules
  • Loading branch information
provos committed Nov 18, 2024
1 parent 75e2a7c commit cc8d38e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/planai/anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from typing import Any, Dict, List, Literal, Mapping
from typing import Any, Dict, List

from anthropic import Anthropic, APIError

Expand Down
2 changes: 1 addition & 1 deletion src/planai/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import logging
from typing import Any, Dict, List, Literal, Mapping
from typing import Any, Dict, List

from openai import ContentFilterFinishReasonError, LengthFinishReasonError, OpenAI

Expand Down

0 comments on commit cc8d38e

Please sign in to comment.