Skip to content

Commit

Permalink
fix class
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Oct 16, 2024
1 parent 4d47a0c commit d0efc40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lumen/ai/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from instructor.patch import Mode, patch
from pydantic import BaseModel

from .interceptor import OpenAIInterceptor
from .interceptor import Interceptor


class Llm(param.Parameterized):
Expand All @@ -24,7 +24,7 @@ class Llm(param.Parameterized):

use_logfire = param.Boolean(default=False)

interceptor = param.ClassSelector(default=None, class_=OpenAIInterceptor)
interceptor = param.ClassSelector(default=None, class_=Interceptor)

# Allows defining a dictionary of default models.
model_kwargs = param.Dict(default={})
Expand Down

0 comments on commit d0efc40

Please sign in to comment.