mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 22:11:14 +02:00
feat: clarify default LLM model config selection logic
Updated documentation and implementation to clearly define the priority order for selecting default LLM model configurations. The logic now explicitly states: 1. User's config marked with `is_default: true` (highest priority) 2. Group's config marked with `is_default: true` 3. First config in the list (user configs come before group configs) This ensures consistent behavior between the API documentation and the actual implementation in the repository code.
This commit is contained in:
1 parent
f4723cd083
commit
7a2d15cb64
2 files changed
+18
-9
No files matched your search
@@ -167,9 +167,9 @@ The `model_type` field accepts the following values:
|
||||
| `total` | integer | Total count |
|
||||
|
||||
**Default Configuration Selection Logic:**
|
||||
1. User's config marked with `is_default: true`
|
||||
2. Group's config marked with `is_default: true` (if user has no default)
|
||||
3. First config in the list (fallback if no default is marked)
|
||||
1. User's config marked with `is_default: true` (highest priority)
|
||||
2. Group's config marked with `is_default: true`
|
||||
3. First config in the list (user configs come before group configs)
|
||||
|
||||
### LLMModelConfigListResponse
|
||||
|
||||
|
||||
Reference in new issue
Block a user