Skip to content

Commit

Permalink
Removed incomplete model_config feature, refs #169
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 20, 2023
1 parent a105d98 commit 5bf0f41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llm/templates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from pydantic import ConfigDict, BaseModel
from pydantic import BaseModel
import string
from typing import Optional, Any, Dict, List, Tuple

Expand All @@ -9,7 +9,6 @@ class Template(BaseModel):
system: Optional[str] = None
model: Optional[str] = None
defaults: Optional[Dict[str, Any]] = None
model_config = ConfigDict(extra="forbid")

class MissingVariables(Exception):
pass
Expand Down

0 comments on commit 5bf0f41

Please sign in to comment.