Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
coderai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
coderai
Commits
add2ecd1
Commit
add2ecd1
authored
Mar 17, 2026
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add imports for ModelCapabilities and cache functions from codai modules
parent
81c39eb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
coderai
coderai
+5
-0
No files found.
coderai
View file @
add2ecd1
...
...
@@ -35,6 +35,11 @@ from codai.models import ModelParserDispatcher, OpenAIFormatter
from
codai
.
models
.
manager
import
ModelManager
,
WhisperServerManager
,
MultiModelManager
from
codai
.
queue
.
manager
import
QueueManager
,
queue_manager
from
codai
.
backends
import
NvidiaBackend
,
VulkanBackend
,
detect_available_backends
from
codai
.
models
.
capabilities
import
ModelCapabilities
,
detect_model_capabilities
from
codai
.
models
.
cache
import
(
get_model_cache_dir
,
get_all_cache_dirs
,
get_cached_model_path
,
is_huggingface_model_id
,
download_huggingface_model
,
download_model
)
#
Per
-
model
semaphores
for
request
concurrency
control
model_semaphores
:
dict
=
{}
load_mode
=
{
"mode"
:
"ondemand"
}
#
Track
load
mode
globally
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment