| 1 | package Langertha::Spec::LMStudio; | ||||||||||||
| 2 | # ABSTRACT: Pre-computed OpenAPI operations for LM Studio native API | ||||||||||||
| 3 | 7 | our $VERSION = '0.505'; | |||||||||||
| 4 | |||||||||||||
| 5 | # AUTO-GENERATED style table (maintained in-repo). | ||||||||||||
| 6 | # Source: share/lmstudio.yaml (2 operations) | ||||||||||||
| 7 | |||||||||||||
| 8 | 7 | my $DATA; | |||||||||||
| 9 | |||||||||||||
| 10 | 19 | ▶ | sub data { | ||||||||||
|
Subroutine
data: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 11 | 19 | ▶ | $DATA //= { | ||||||||||
|
Condition100%2/2
$DATA //= {"server_url", "http://localhost:1234", "operations", {"chat", {"method", "POST", "path", "/api/v1/chat", "content_type", "application/json"}, "listModels", {"method", "GET", "path", "/api/v1/models"}}}
MC/DC100%1/1
$DATA //= {"server_url", "http://localhost:1234", "operations", {"chat", {"method", "POST", "path", "/api/v1/chat", "content_type", "application/json"}, "listModels", {"method", "GET", "path", "/api/v1/models"}}}
$DATA
Truth table100%2/2
A
A= $DATA
| |||||||||||||
| 12 | server_url => 'http://localhost:1234', | ||||||||||||
| 13 | operations => { | ||||||||||||
| 14 | 'chat' => { method => 'POST', path => '/api/v1/chat', content_type => 'application/json' }, | ||||||||||||
| 15 | 'listModels' => { method => 'GET', path => '/api/v1/models' }, | ||||||||||||
| 16 | }, | ||||||||||||
| 17 | }; | ||||||||||||
| 18 | 19 | return $DATA; | |||||||||||
| 19 | } | ||||||||||||
| 20 | |||||||||||||
| 21 | 7 | 1; | |||||||||||
| 22 | |||||||||||||
| 23 | __END__ | ||||||||||||