Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to python 3.11, remove poetry for uv, move to lazy loading in app.py #85

Open
wants to merge 60 commits into
base: main
Choose a base branch
from

Conversation

morganmcg1
Copy link
Member

@morganmcg1 morganmcg1 commented Dec 26, 2024

wandbot v1.3.0

Note that to trigger the final initalization after running run.sh, a request has to be made to the /startup endpoint, as tiggering the heavy initialzations during app startup causes replit to timeout:

curl https://wandbot.replit.app/startup

New:

  • Move to uv for package management: Installs and dependency checks cut down from minutes to seconds
  • Support python 3.11 on replit
  • Move to lazing loading in app.py to help with startup: Replit app deployments can't seen to handle the delay from loading the app, despite attempting async or background tasks
  • Turn off web search: Currently we don't have a web search provider to use.
  • Small formatting updates for weave.op
  • Add dotenv in app.py for easy env var loads

Testing

  • Tested on Replit, slack and discord working as expected.
  • Testing by running evals

Copy link

socket-security bot commented Dec 26, 2024

Report is too large to display inline.
View full report↗︎

Next steps

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

src/wandbot/api/app.py Fixed Show fixed Hide fixed
src/wandbot/api/app.py Fixed Show fixed Hide fixed
src/wandbot/api/app.py Dismissed Show dismissed Hide dismissed
src/wandbot/api/app.py Fixed Show fixed Hide fixed
Copy link

socket-security bot commented Dec 27, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
pypi/[email protected] Transitive: environment, eval, filesystem, network, shell, unsafe +1792 6.78 GB
pypi/[email protected] environment, filesystem, network, shell Transitive: eval, unsafe +1657 5.98 GB 1vn, billytrend-cohere, miguel-cohere
pypi/[email protected] environment, eval, filesystem, network, shell, unsafe +1393 4.7 GB messense
pypi/[email protected] environment, eval, filesystem, network, shell, unsafe +1999 6.25 GB dmontagu, samuelcolvin
pypi/[email protected] Transitive: environment, eval, filesystem, network, shell, unsafe +89 109 MB

🚮 Removed packages: pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/pywin32@306, pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected], pypi/[email protected]

View full report↗︎

openhands-agent and others added 30 commits January 1, 2025 01:10
- Update chromadb to 0.6.0 which supports numpy 2.2.0
- Keep our optimized MMR implementation since chromadb doesn't have built-in MMR yet
- Add native ChromaDB wrapper that matches langchain-chroma behavior
- Remove dependency on langchain-chroma's internal implementation
- Add documentation explaining the native implementation
- Update VectorStore to use native ChromaDB wrapper
Use code interpreter with python 3.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants