Skip to content

Commit

Permalink
add back settings.config
Browse files Browse the repository at this point in the history
  • Loading branch information
okhat committed Nov 24, 2024
1 parent 56456e0 commit ff6d77f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dsp/utils/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ def copy(self):
overrides = dspy_ctx_overrides.get()
return dotdict({**main_thread_config, **overrides})

@property
def config(self):
config = self.copy()
del config['lock']
return config

# Configuration methods

def configure(self, return_token=False, **kwargs):
Expand Down

0 comments on commit ff6d77f

Please sign in to comment.