| 1 | package Langertha::Spec::LMStudio; | ||||||||||||
| 2 | # ABSTRACT: Pre-computed OpenAPI operations for LM Studio native API | ||||||||||||
| 3 | 7 | our $VERSION = '0.503'; | |||||||||||
| 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__ | ||||||||||||
| 24 | |||||||||||||
| 25 | =pod | ||||||||||||
| 26 | |||||||||||||
| 27 | =encoding UTF-8 | ||||||||||||
| 28 | |||||||||||||
| 29 | =head1 NAME | ||||||||||||
| 30 | |||||||||||||
| 31 | Langertha::Spec::LMStudio - Pre-computed OpenAPI operations for LM Studio native API | ||||||||||||
| 32 | |||||||||||||
| 33 | =head1 VERSION | ||||||||||||
| 34 | |||||||||||||
| 35 | version 0.503 | ||||||||||||
| 36 | |||||||||||||
| 37 | =head1 SUPPORT | ||||||||||||
| 38 | |||||||||||||
| 39 | =head2 Issues | ||||||||||||
| 40 | |||||||||||||
| 41 | Please report bugs and feature requests on GitHub at | ||||||||||||
| 42 | L<https://github.com/Getty/langertha/issues>. | ||||||||||||
| 43 | |||||||||||||
| 44 | =head2 IRC | ||||||||||||
| 45 | |||||||||||||
| 46 | Join C<#langertha> on C<irc.perl.org> or message Getty directly. | ||||||||||||
| 47 | |||||||||||||
| 48 | =head1 CONTRIBUTING | ||||||||||||
| 49 | |||||||||||||
| 50 | Contributions are welcome! Please fork the repository and submit a pull request. | ||||||||||||
| 51 | |||||||||||||
| 52 | =head1 AUTHOR | ||||||||||||
| 53 | |||||||||||||
| 54 | Torsten Raudssus <getty@cpan.org> | ||||||||||||
| 55 | |||||||||||||
| 56 | =head1 COPYRIGHT AND LICENSE | ||||||||||||
| 57 | |||||||||||||
| 58 | This software is copyright (c) 2026 by Torsten Raudssus L<https://raudssus.de/>. | ||||||||||||
| 59 | |||||||||||||
| 60 | This is free software; you can redistribute it and/or modify it under | ||||||||||||
| 61 | the same terms as the Perl 5 programming language system itself. | ||||||||||||
| 62 | |||||||||||||
| 63 | =cut | ||||||||||||