Skip to content

Commit

Permalink
langchain: globals fix (#21281)
Browse files Browse the repository at this point in the history
Issue: functions from `globals`, like the `get_debug` are placed in the
init.py file. As a result, they don't listed in the API Reference docs.
[See
this](https://langchain-9jq1kef7i-langchain.vercel.app/v0.2/docs/how_to/debugging/#set_debugtrue)
and [broken
this](https://api.python.langchain.com/en/latest/globals/langchain.globals.set_debug.html).
Change: moved code from init.py into the `globals.py` file and removed
`globals` directory. Similar to: #21266
BTW `globals` in core implemented exactly inside a file not inside a
folder.
  • Loading branch information
leo-gan authored Jul 23, 2024
1 parent e80b093 commit e787532
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit e787532

Please sign in to comment.