Comments (2)
from llmstudio.
Fixed the issue where get_model was crashing in Jupyter notebooks.
The root cause was identified as a timing issue between API initialisation and subsequent API access. In a Jupyter notebook environment, running both the API initialisation and get_model in quick succession led to a crash, outputting an error indicating that the API was not running yet.
To address this, a retry mechanism in the _check_api_access method was added. This adds persistence to the API access validation process, preventing the notebook cell from crashing.
from llmstudio.
Related Issues (20)
- BUG: Server does not update api key for same provider on new client creation HOT 1
- FEAT: Wrap Backend for Assistants
- FEAT: General UI for Assistants
- FEAT: UI Assistants - Support function def
- BUG: Adapt LLMstudio for new OpenAI version 1.2.3
- FEAT: UI should support templating
- FEAT: PromptCompare UI HOT 1
- BUG: GPT3.5 Rerouting
- Start-up: No module named 'llmstudio.engine' HOT 1
- BUG: Pip install Error HOT 3
- DOC: How to connect LLMstudio to Azure OpenAI? HOT 7
- BUG: nest_async Requirement is missing HOT 1
- BUG: docs.llmstudio.ai not reachable HOT 1
- BUG: LLMstudio command not registered on bashrc HOT 5
- DOC: ReadMe needs update HOT 1
- BUG: AttributeError in validate_parameters Method ('OpenAIParameters' object has no attribute 'model_dump') HOT 3
- FEAT: Google Colab Support for LLMstudio Web UI HOT 1
- BUG: problem with loading the UI HOT 1
- FEAT: Redesign the UI to be more fit to represent logging explorer HOT 1
- FEAT: RBAC support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llmstudio.