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

🔧 fix: Add modelLabel to OpenAIClient Save Options #4995

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

danny-avila
Copy link
Owner

Summary

I added modelLabel to the save options of OpenAIClient and PluginsClient to ensure that the model label is properly saved and accessible for downstream use. This resolves an issue exhibited with modelSpecs highlighted here: #4975 (comment)

  • Added modelLabel to the save options in OpenAIClient.getSaveOptions().
  • Added modelLabel to the save options in PluginsClient.getSaveOptions().
  • Updated OpenAIClient tests to verify modelLabel is included in the save options.

Change Type

  • Bug fix (non-breaking change which fixes an issue)

Testing

I ran the existing unit tests to verify that the changes did not introduce any regressions. I updated the OpenAIClient tests to ensure modelLabel is included in the save options.

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • My changes do not introduce new warnings
  • I have written tests demonstrating that my changes are effective or that my feature works
  • Local unit tests pass with my changes

@danny-avila danny-avila merged commit 6ef05dd into main Dec 14, 2024
2 checks passed
@danny-avila danny-avila deleted the fix/minor-issues branch December 14, 2024 20:31
jmaddington added a commit to jmaddington/LibreChat that referenced this pull request Dec 15, 2024
* 🙌 a11y: Accessibility Improvements (danny-avila#4978)

* 🔃 fix: Safeguard against null token in SSE refresh token handling

* 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

* 🔃 a11y: Add aria-live attribute for accessibility in error messages

* fix: prevent double screen reader notification for toast

* 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

* refactor: better alt text for logo on login page danny-avila#4095

* refactor: remove unused import for DropdownNoState in Voices component

* fix: Focus management issue in the Export Options Modal danny-avila#4100

* 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

* fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

* refactor: Include description field in agent list response

* 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

---------

Co-authored-by: Danny Avila <[email protected]>
jmaddington added a commit to jmaddington/LibreChat that referenced this pull request Dec 16, 2024
* 🙌 a11y: Accessibility Improvements (danny-avila#4978)

* 🔃 fix: Safeguard against null token in SSE refresh token handling

* 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

* 🔃 a11y: Add aria-live attribute for accessibility in error messages

* fix: prevent double screen reader notification for toast

* 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

* refactor: better alt text for logo on login page danny-avila#4095

* refactor: remove unused import for DropdownNoState in Voices component

* fix: Focus management issue in the Export Options Modal danny-avila#4100

* 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

* fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

* refactor: Include description field in agent list response

* docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

* 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

* fix: change description too-long for tools and move to new help action

* refactor: move some if stmts into the switfh block

* feat: Add command_run

* feat: add start_server command

* refactor: refactor how we list and kill sandboxes to work better

* refactor: add clearer instructions on max commands limit to avoid recursion errors with langchain

* refactor: change how we handle sandbox kills

* refactor: add processinfo(), system_install and comment out shell, read more...

The LLMs are consistently using the shell function instead of the command_run and end up timing out on the api as a result. Taking away the shell functionality is a test at this point to see if we get better performance.

* refactor: add user, cwd to create; set default timeout to 60mins

---------

Co-authored-by: Danny Avila <[email protected]>
jmaddington added a commit to jmaddington/LibreChat that referenced this pull request Dec 17, 2024
* 🙌 a11y: Accessibility Improvements (danny-avila#4978)

* 🔃 fix: Safeguard against null token in SSE refresh token handling

* 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

* 🔃 a11y: Add aria-live attribute for accessibility in error messages

* fix: prevent double screen reader notification for toast

* 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

* refactor: better alt text for logo on login page danny-avila#4095

* refactor: remove unused import for DropdownNoState in Voices component

* fix: Focus management issue in the Export Options Modal danny-avila#4100

* 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

* fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

* refactor: Include description field in agent list response

* docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

* 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

* fix: change description too-long for tools and move to new help action

* refactor: move some if stmts into the switch block

* feat: Add command_run

* feat: add start_server command

* refactor: refactor how we list and kill sandboxes to work better

* refactor: add clearer instructions on max commands limit to avoid recursion errors with langchain

* refactor: change how we handle sandbox kills

* refactor: add processinfo(), system_install and comment out shell, read more...

The LLMs are consistently using the shell function instead of the command_run and end up timing out on the api as a result. Taking away the shell functionality is a test at this point to see if we get better performance.

* refactor: add user, cwd to create; set default timeout to 60mins

* TESTING to see if this increases the langchain recursion limit

I'm not at all sure I have the correct line

* refactor: add shell back, remove execute

Execute looks geared towards Jupyter notebooks, which is not what I am aiming for here.

---------

Co-authored-by: Danny Avila <[email protected]>
jmaddington added a commit to jmaddington/LibreChat that referenced this pull request Dec 17, 2024
* 📸 feat: Add support for Black Labs Flux AI

This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

* 📸 feat: Add support for Black Labs Flux AI

This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

* 📸 feat: Update .env.example and manifest.json for Flux API integration

* Flux ai (#1)

* 📸 feat: Add support for Black Labs Flux AI

This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

* Flux ai (#1) (#3)

* 📸 feat: Add support for Black Labs Flux AI

This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

* 📸 fix: Add missing FluxAPI to available tools in the client module

* 🌐 feat: Add CurlPlugin to tools and update manifest for integration

* 📸 refactor: Enhance CurlPlugin with improved guidelines and additional parameters for better HTTP request handling

* 📸 feat: Enhance CurlPlugin guidelines and add support for including specific HTML attributes in responses

It's pretty easy to return too many tokens to the LLM, we're trying to cut down on that as much as possible

* feat: Update CurlPlugin guidelines to exclude additional HTML tags and attributes

* refactor: Rename CurlPlugin to WebNavigator and update references throughout the codebase

* fix: Add new WebNavigator icon path in manifest.json

* Flux ai - bug fixes (#4)

* 📸 feat: Add support for Black Labs Flux AI

This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

* 📸 feat: Add support for Black Labs Flux AI

This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

* 📸 feat: Update .env.example and manifest.json for Flux API integration

* 📸 fix: Add missing FluxAPI to available tools in the client module

* fix: Correct syntax by adding missing semicolon for FluxAPI import

* fix: Remove unnecessary comment from toolAuthFields in handleTools.js

* fix: Remove redundant comment in handleTools.js

* docs: update readme with info on this fork

* Fix: fix mistaken lines in merge

* fix: change vite bind to work in docker, update devcontainer exposted ports

* feat: init commit of e2b code interpreter plugin

* feat: add multiple e2b SDK commands

* fix: reverting back to init commit

* feat: misc fixes

* feat: add 'kill' action to E2BCode tool for managing sandboxes

* feat: enhance E2BCode tool with environment variable support for sandbox creation and execution

* feat: add background task support and command management to E2BCode tool

* feat: add 'set_timeout' action to E2BCode tool for managing sandbox timeout

* feat: enhance E2BCode tool with hidden environment variable support and improve documentation

* docs: add documentation for E2BCode plugin integration with LibreChat

* feat: add GitHub Actions workflow for Docker build and push to GHCR

* feat: add GitHub Actions workflow for Docker build and push to GHCR

* fix indent in deploy workflow

* fix: update checkout action to use 'with' syntax for ref

* fix: update checkout action to use 'with' syntax for ref

* Feat/new/e2bcode (#17)

Add support for e2b.dev code interpreter (Sandbox environment).

* fix: enhance E2BCode prompt with detailed action descriptions and usage notes

* docs: update README to include E2B.dev code interpreter and plugins list

* docs: update README with E2B.dev rationale and additional plugins; enhance E2BCode usage notes

* e2bcode bugfix (#18)

* docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

* fix: change description too-long for tools and move to new help action

* Merge upstream into jm-production (#19)

* 🙌 a11y: Accessibility Improvements (danny-avila#4978)

* 🔃 fix: Safeguard against null token in SSE refresh token handling

* 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

* 🔃 a11y: Add aria-live attribute for accessibility in error messages

* fix: prevent double screen reader notification for toast

* 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

* refactor: better alt text for logo on login page danny-avila#4095

* refactor: remove unused import for DropdownNoState in Voices component

* fix: Focus management issue in the Export Options Modal danny-avila#4100

* 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

* fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

* refactor: Include description field in agent list response

* 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

---------

Co-authored-by: Danny Avila <[email protected]>

* Merge latest New/feature/e2bcode (#20)

* 🙌 a11y: Accessibility Improvements (danny-avila#4978)

* 🔃 fix: Safeguard against null token in SSE refresh token handling

* 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

* 🔃 a11y: Add aria-live attribute for accessibility in error messages

* fix: prevent double screen reader notification for toast

* 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

* refactor: better alt text for logo on login page danny-avila#4095

* refactor: remove unused import for DropdownNoState in Voices component

* fix: Focus management issue in the Export Options Modal danny-avila#4100

* 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

* fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

* refactor: Include description field in agent list response

* docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

* 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

* fix: change description too-long for tools and move to new help action

* refactor: move some if stmts into the switfh block

* feat: Add command_run

* feat: add start_server command

* refactor: refactor how we list and kill sandboxes to work better

* refactor: add clearer instructions on max commands limit to avoid recursion errors with langchain

* refactor: change how we handle sandbox kills

* refactor: add processinfo(), system_install and comment out shell, read more...

The LLMs are consistently using the shell function instead of the command_run and end up timing out on the api as a result. Taking away the shell functionality is a test at this point to see if we get better performance.

* refactor: add user, cwd to create; set default timeout to 60mins

---------

Co-authored-by: Danny Avila <[email protected]>

* Merge latest changes from New/feature/e2bcode into jm-production (#21)

* 🙌 a11y: Accessibility Improvements (danny-avila#4978)

* 🔃 fix: Safeguard against null token in SSE refresh token handling

* 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

* 🔃 a11y: Add aria-live attribute for accessibility in error messages

* fix: prevent double screen reader notification for toast

* 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

* refactor: better alt text for logo on login page danny-avila#4095

* refactor: remove unused import for DropdownNoState in Voices component

* fix: Focus management issue in the Export Options Modal danny-avila#4100

* 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

* fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

* refactor: Include description field in agent list response

* docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

* 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

* fix: change description too-long for tools and move to new help action

* refactor: move some if stmts into the switch block

* feat: Add command_run

* feat: add start_server command

* refactor: refactor how we list and kill sandboxes to work better

* refactor: add clearer instructions on max commands limit to avoid recursion errors with langchain

* refactor: change how we handle sandbox kills

* refactor: add processinfo(), system_install and comment out shell, read more...

The LLMs are consistently using the shell function instead of the command_run and end up timing out on the api as a result. Taking away the shell functionality is a test at this point to see if we get better performance.

* refactor: add user, cwd to create; set default timeout to 60mins

* TESTING to see if this increases the langchain recursion limit

I'm not at all sure I have the correct line

* refactor: add shell back, remove execute

Execute looks geared towards Jupyter notebooks, which is not what I am aiming for here.

---------

Co-authored-by: Danny Avila <[email protected]>

---------

Co-authored-by: Danny Avila <[email protected]>
jmaddington added a commit to jmaddington/LibreChat that referenced this pull request Dec 19, 2024
* 🙌 a11y: Accessibility Improvements (danny-avila#4978)

* 🔃 fix: Safeguard against null token in SSE refresh token handling

* 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

* 🔃 a11y: Add aria-live attribute for accessibility in error messages

* fix: prevent double screen reader notification for toast

* 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

* refactor: better alt text for logo on login page danny-avila#4095

* refactor: remove unused import for DropdownNoState in Voices component

* fix: Focus management issue in the Export Options Modal danny-avila#4100

* 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

* fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

* refactor: Include description field in agent list response

* docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

* 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

* fix: change description too-long for tools and move to new help action

* refactor: move some if stmts into the switfh block

* feat: Add command_run

* feat: add start_server command

* refactor: refactor how we list and kill sandboxes to work better

* refactor: add clearer instructions on max commands limit to avoid recursion errors with langchain

* refactor: change how we handle sandbox kills

* refactor: add processinfo(), system_install and comment out shell, read more...

The LLMs are consistently using the shell function instead of the command_run and end up timing out on the api as a result. Taking away the shell functionality is a test at this point to see if we get better performance.

* refactor: add user, cwd to create; set default timeout to 60mins

---------

Co-authored-by: Danny Avila <[email protected]>
owengo pushed a commit to openwengo/LibreChat that referenced this pull request Dec 20, 2024
jmaddington added a commit to jmaddington/LibreChat that referenced this pull request Dec 21, 2024
commit 84eeb69
Author: Jonathan Addington <[email protected]>
Date:   Sat Dec 21 03:54:18 2024 +0000

    fix: removed e2b_symbol.png in wrong place

commit 7ad7f50
Author: Jonathan Addington <[email protected]>
Date:   Sat Dec 21 03:29:47 2024 +0000

    chore: enhance sandbox creation logic with template fallback and detailed response message

commit d4d46e9
Author: Jonathan Addington <[email protected]>
Date:   Sat Dec 21 03:37:41 2024 +0000

    chore: require authentication for E2BCode plugin and add e2b logo

commit ac507bd
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 20 14:34:18 2024 +0000

    Merge upstream into jm-production

commit 332a947
Author: Jonathan Addington <[email protected]>
Date:   Thu Dec 19 22:02:30 2024 +0000

    feat: implement output truncation for large responses in E2BCode

commit 78caf5c
Author: Jonathan Addington <[email protected]>
Date:   Wed Dec 18 16:40:30 2024 +0000

    feat: add support for e2b sanedbox templates

commit 374822c
Author: Jonathan Addington <[email protected]>
Date:   Tue Dec 17 14:36:23 2024 +0000

    refactor: update help for LLM

commit 55350ae
Author: JM Addington <[email protected]>
Date:   Mon Dec 16 13:41:28 2024 -0500

    Merge latest New/feature/e2bcode (#20)

    * 🙌 a11y: Accessibility Improvements (danny-avila#4978)

    * 🔃 fix: Safeguard against null token in SSE refresh token handling

    * 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

    * 🔃 a11y: Add aria-live attribute for accessibility in error messages

    * fix: prevent double screen reader notification for toast

    * 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

    * refactor: better alt text for logo on login page danny-avila#4095

    * refactor: remove unused import for DropdownNoState in Voices component

    * fix: Focus management issue in the Export Options Modal danny-avila#4100

    * 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

    * fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

    * refactor: Include description field in agent list response

    * docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

    * 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

    * fix: change description too-long for tools and move to new help action

    * refactor: move some if stmts into the switfh block

    * feat: Add command_run

    * feat: add start_server command

    * refactor: refactor how we list and kill sandboxes to work better

    * refactor: add clearer instructions on max commands limit to avoid recursion errors with langchain

    * refactor: change how we handle sandbox kills

    * refactor: add processinfo(), system_install and comment out shell, read more...

    The LLMs are consistently using the shell function instead of the command_run and end up timing out on the api as a result. Taking away the shell functionality is a test at this point to see if we get better performance.

    * refactor: add user, cwd to create; set default timeout to 60mins

    ---------

    Co-authored-by: Danny Avila <[email protected]>

commit 62facd1
Author: Jonathan Addington <[email protected]>
Date:   Wed Dec 18 16:00:56 2024 +0000

    fix: 🐛Add missing comma for FluxAPI in tools index

commit dd51d15
Author: JM Addington <[email protected]>
Date:   Wed Dec 18 10:45:38 2024 -0500

    Update index.js

    fix: remove merge conflict artifact

commit 531a412
Merge: ea38c28 4a73418
Author: Jonathan Addington <[email protected]>
Date:   Tue Dec 17 22:33:26 2024 +0000

    Merge branch 'jm-production' of https://github.com/jmaddington/LibreChat into jm-production

commit ea38c28
Author: Jonathan Addington <[email protected]>
Date:   Tue Dec 17 20:23:11 2024 +0000

    test: 🌧️Add integration tests for OpenWeather tool

commit d86568b
Author: Jonathan Addington <[email protected]>
Date:   Tue Dec 17 20:07:32 2024 +0000

    feat: 🌤️Add OpenWeather tool and corresponding tests

commit 4a73418
Author: JM Addington <[email protected]>
Date:   Tue Dec 17 11:07:40 2024 -0500

    Sybc Flux ai with tracking (#25)

    * fix: Correct syntax by adding missing semicolon for FluxAPI import

    * fix: Remove unnecessary comment from toolAuthFields in handleTools.js

commit b526d2b
Merge: a50c2ea 609542b
Author: Jonathan Addington <[email protected]>
Date:   Tue Dec 17 15:18:03 2024 +0000

    Merge branch 'jm-production' of https://github.com/jmaddington/LibreChat into jm-production

commit 609542b
Author: JM Addington <[email protected]>
Date:   Tue Dec 17 09:06:54 2024 -0500

    Merge latest changes from New/feature/e2bcode into jm-production (#21)

    * 🙌 a11y: Accessibility Improvements (danny-avila#4978)

    * 🔃 fix: Safeguard against null token in SSE refresh token handling

    * 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

    * 🔃 a11y: Add aria-live attribute for accessibility in error messages

    * fix: prevent double screen reader notification for toast

    * 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

    * refactor: better alt text for logo on login page danny-avila#4095

    * refactor: remove unused import for DropdownNoState in Voices component

    * fix: Focus management issue in the Export Options Modal danny-avila#4100

    * 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

    * fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

    * refactor: Include description field in agent list response

    * docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

    * 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

    * fix: change description too-long for tools and move to new help action

    * refactor: move some if stmts into the switch block

    * feat: Add command_run

    * feat: add start_server command

    * refactor: refactor how we list and kill sandboxes to work better

    * refactor: add clearer instructions on max commands limit to avoid recursion errors with langchain

    * refactor: change how we handle sandbox kills

    * refactor: add processinfo(), system_install and comment out shell, read more...

    The LLMs are consistently using the shell function instead of the command_run and end up timing out on the api as a result. Taking away the shell functionality is a test at this point to see if we get better performance.

    * refactor: add user, cwd to create; set default timeout to 60mins

    * TESTING to see if this increases the langchain recursion limit

    I'm not at all sure I have the correct line

    * refactor: add shell back, remove execute

    Execute looks geared towards Jupyter notebooks, which is not what I am aiming for here.

    ---------

    Co-authored-by: Danny Avila <[email protected]>

commit 5002691
Author: JM Addington <[email protected]>
Date:   Mon Dec 16 13:41:28 2024 -0500

    Merge latest New/feature/e2bcode (#20)

    * 🙌 a11y: Accessibility Improvements (danny-avila#4978)

    * 🔃 fix: Safeguard against null token in SSE refresh token handling

    * 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

    * 🔃 a11y: Add aria-live attribute for accessibility in error messages

    * fix: prevent double screen reader notification for toast

    * 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

    * refactor: better alt text for logo on login page danny-avila#4095

    * refactor: remove unused import for DropdownNoState in Voices component

    * fix: Focus management issue in the Export Options Modal danny-avila#4100

    * 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

    * fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

    * refactor: Include description field in agent list response

    * docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

    * 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

    * fix: change description too-long for tools and move to new help action

    * refactor: move some if stmts into the switfh block

    * feat: Add command_run

    * feat: add start_server command

    * refactor: refactor how we list and kill sandboxes to work better

    * refactor: add clearer instructions on max commands limit to avoid recursion errors with langchain

    * refactor: change how we handle sandbox kills

    * refactor: add processinfo(), system_install and comment out shell, read more...

    The LLMs are consistently using the shell function instead of the command_run and end up timing out on the api as a result. Taking away the shell functionality is a test at this point to see if we get better performance.

    * refactor: add user, cwd to create; set default timeout to 60mins

    ---------

    Co-authored-by: Danny Avila <[email protected]>

commit dd379a2
Author: JM Addington <[email protected]>
Date:   Sat Dec 14 21:42:20 2024 -0500

    Merge upstream into jm-production (#19)

    * 🙌 a11y: Accessibility Improvements (danny-avila#4978)

    * 🔃 fix: Safeguard against null token in SSE refresh token handling

    * 🔃 fix: Update import path for AnnounceOptions in LiveAnnouncer component

    * 🔃 a11y: Add aria-live attribute for accessibility in error messages

    * fix: prevent double screen reader notification for toast

    * 🔃 a11y: Enhance accessibility for main menus and buttons with ARIA roles and labels

    * refactor: better alt text for logo on login page danny-avila#4095

    * refactor: remove unused import for DropdownNoState in Voices component

    * fix: Focus management issue in the Export Options Modal danny-avila#4100

    * 🐛 fix: Enforced Model Spec Icons/Labels and Agent Descriptions (danny-avila#4979)

    * fix: Previous convos missing model spec info when enforce is set to `true` danny-avila#4749

    * refactor: Include description field in agent list response

    * 🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (danny-avila#4995)

    ---------

    Co-authored-by: Danny Avila <[email protected]>

commit ec27ff7
Author: JM Addington <[email protected]>
Date:   Sat Dec 14 21:40:25 2024 -0500

    e2bcode bugfix (#18)

    * docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

    * fix: change description too-long for tools and move to new help action

commit a50c2ea
Author: Jonathan Addington <[email protected]>
Date:   Sat Dec 14 00:19:06 2024 +0000

    docs: enhance E2BCode documentation with subprocess usage and file transfer instructions

commit 182b96a
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 20:31:15 2024 +0000

    docs: update README with E2B.dev rationale and additional plugins; enhance E2BCode usage notes

commit 8ef3866
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 20:26:40 2024 +0000

    docs: update README to include E2B.dev code interpreter and plugins list

commit debe367
Merge: 6b3548f b6eebf2
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 20:14:43 2024 +0000

    Merge branch 'main' into jm-production

commit b6eebf2
Merge: 0ce422a 763693c
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 15:14:29 2024 -0500

    Merge branch 'main' of https://github.com/jmaddington/LibreChat

commit 6b3548f
Merge: 943bac3 0ce422a
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 20:13:45 2024 +0000

    Merge branch 'main' into jm-production

commit 943bac3
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 20:09:10 2024 +0000

    fix: enhance E2BCode prompt with detailed action descriptions and usage notes

commit 9e998d6
Merge: f18cdc0 8510262
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 20:03:20 2024 +0000

    Merge branch 'feat/new/e2bcode' into jm-production

commit f18cdc0
Author: JM Addington <[email protected]>
Date:   Fri Dec 13 14:23:50 2024 -0500

    Feat/new/e2bcode (#17)

    Add support for e2b.dev code interpreter (Sandbox environment).

commit d7551cf
Merge: 2db7006 20b91ad
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 19:05:28 2024 +0000

    Merge branch 'jm-production' of https://github.com/jmaddington/LibreChat into jm-production

commit 2db7006
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 19:04:36 2024 +0000

    fix: update checkout action to use 'with' syntax for ref

commit 20b91ad
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 19:04:36 2024 +0000

    fix: update checkout action to use 'with' syntax for ref

commit d1ccebc
Merge: b5062a4 b9764a8
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 14:03:55 2024 -0500

    Merge branch 'jm-production' of https://github.com/jmaddington/LibreChat into jm-production

commit b9764a8
Author: JM Addington <[email protected]>
Date:   Fri Dec 13 14:03:09 2024 -0500

    fix indent in deploy workflow

commit b5062a4
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 18:41:19 2024 +0000

    feat: add GitHub Actions workflow for Docker build and push to GHCR

commit 697bb45
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 18:41:19 2024 +0000

    feat: add GitHub Actions workflow for Docker build and push to GHCR

commit 8510262
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 18:09:25 2024 +0000

    docs: add documentation for E2BCode plugin integration with LibreChat

commit f58a5c0
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 18:02:19 2024 +0000

    feat: enhance E2BCode tool with hidden environment variable support and improve documentation

commit 66a4820
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 17:53:19 2024 +0000

    feat: add 'set_timeout' action to E2BCode tool for managing sandbox timeout

commit fef7a06
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 17:43:11 2024 +0000

    feat: add background task support and command management to E2BCode tool

commit 14058b2
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 17:31:10 2024 +0000

    feat: enhance E2BCode tool with environment variable support for sandbox creation and execution

commit aa5e78f
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 17:24:26 2024 +0000

    feat: add 'kill' action to E2BCode tool for managing sandboxes

commit c213690
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 16:58:43 2024 +0000

    feat: misc fixes

commit a929878
Author: Jonathan Addington <[email protected]>
Date:   Fri Dec 13 14:50:21 2024 +0000

    fix: reverting back to init commit

commit e9ff7e6
Author: Jonathan Addington <[email protected]>
Date:   Thu Dec 12 16:42:59 2024 +0000

    feat: add multiple e2b SDK commands

commit 216c47a
Author: Jonathan Addington <[email protected]>
Date:   Thu Dec 12 16:17:31 2024 +0000

    feat: init commit of e2b code interpreter plugin

commit 0ce422a
Author: Jonathan Addington <[email protected]>
Date:   Wed Dec 11 17:13:49 2024 +0000

    fix: change vite bind to work in docker, update devcontainer exposted ports

commit 9df7c10
Author: Jonathan Addington <[email protected]>
Date:   Mon Dec 9 13:41:05 2024 +0000

    Fix: fix mistaken lines in merge

commit 0e8e274
Merge: dd32f4a cd1184a
Author: JM Addington <[email protected]>
Date:   Mon Dec 9 07:52:45 2024 -0500

    Merge branch 'tracking/13-tracking-branch-merge' into jm-production

commit dd32f4a
Author: Jonathan Addington <[email protected]>
Date:   Mon Dec 9 12:47:44 2024 +0000

    docs: update readme with info on this fork

commit 4bb349b
Merge: 229aa2c 69d621d
Author: Jonathan Addington <[email protected]>
Date:   Sat Dec 7 17:41:53 2024 +0000

    Merge remote-tracking branch 'origin/new/feature/flux-ai' into jm-production

commit 229aa2c
Merge: 1a815f5 863eb5f
Author: Jonathan Addington <[email protected]>
Date:   Sat Dec 7 17:40:36 2024 +0000

    Merge remote-tracking branch 'origin/new/feature/curl' into jm-production

commit 863eb5f
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 18:34:21 2024 -0500

    fix: Remove redundant comment in handleTools.js

commit fa33ab4
Merge: 2140c97 d8dd93f
Author: JM Addington <[email protected]>
Date:   Mon Nov 18 18:29:48 2024 -0500

    Merge branch 'jm-publish' into new/feature/curl

commit d8dd93f
Author: JM Addington <[email protected]>
Date:   Mon Nov 18 18:26:22 2024 -0500

    Flux ai - bug fixes (#4)

    * 📸 feat: Add support for Black Labs Flux AI

    This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

    * 📸 feat: Add support for Black Labs Flux AI

    This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

    * 📸 feat: Update .env.example and manifest.json for Flux API integration

    * 📸 fix: Add missing FluxAPI to available tools in the client module

    * fix: Correct syntax by adding missing semicolon for FluxAPI import

    * fix: Remove unnecessary comment from toolAuthFields in handleTools.js

commit 2140c97
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 18:21:46 2024 -0500

    fix: Add new WebNavigator icon path in manifest.json

commit aacd4ef
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 17:32:29 2024 -0500

    refactor: Rename CurlPlugin to WebNavigator and update references throughout the codebase

commit 3aef7db
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 17:31:09 2024 -0500

    feat: Update CurlPlugin guidelines to exclude additional HTML tags and attributes

commit 430ae65
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 17:09:03 2024 -0500

    📸 feat: Enhance CurlPlugin guidelines and add support for including specific HTML attributes in responses

    It's pretty easy to return too many tokens to the LLM, we're trying to cut down on that as much as possible

commit c5e82b9
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 17:02:05 2024 -0500

    📸 refactor: Enhance CurlPlugin with improved guidelines and additional parameters for better HTTP request handling

commit a0c8df1
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 16:54:43 2024 -0500

    🌐 feat: Add CurlPlugin to tools and update manifest for integration

commit 98c0dd6
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 10:56:45 2024 -0500

    📸 fix: Add missing FluxAPI to available tools in the client module

commit 78ca8ed
Author: JM Addington <[email protected]>
Date:   Mon Nov 18 10:09:24 2024 -0500

    Flux ai (#1) (#3)

    * 📸 feat: Add support for Black Labs Flux AI

    This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

commit 69d621d
Author: JM Addington <[email protected]>
Date:   Mon Nov 18 09:22:58 2024 -0500

    Flux ai (#1)

    * 📸 feat: Add support for Black Labs Flux AI

    This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

commit 53d0280
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 09:13:20 2024 -0500

    📸 feat: Update .env.example and manifest.json for Flux API integration

commit 6582880
Merge: e58d66a 655b284
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 08:53:32 2024 -0500

    Merge branch 'flux-ai' of https://github.com/jmaddington/LibreChat into flux-ai

commit e58d66a
Merge: 8f05031 ef83e4c
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 08:07:57 2024 -0500

    Merge branch 'flux-ai' of https://github.com/jmaddington/LibreChat into flux-ai

commit 655b284
Merge: 8f05031 ef83e4c
Author: Jonathan Addington <[email protected]>
Date:   Mon Nov 18 08:07:57 2024 -0500

    Merge branch 'flux-ai' of https://github.com/jmaddington/LibreChat into flux-ai

commit 8f05031
Author: Jonathan Addington <[email protected]>
Date:   Sun Nov 17 15:33:12 2024 -0500

    📸 feat: Add support for Black Labs Flux AI

    This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.

commit ef83e4c
Author: Jonathan Addington <[email protected]>
Date:   Sun Nov 17 15:33:12 2024 -0500

    📸 feat: Add support for Black Labs Flux AI

    This commit code was mostly generated by ChatGPT o1-preview, using the DALLE3 plugin as a guide.
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.

1 participant