robot_lab-web 0.2.8 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f6722eba1efc89ffadf06fb4757b17992704b5e152c6e93610f420505bc7a62
4
- data.tar.gz: e416fb9603ebe0e3a8bef300623ad0b638d4fc580b2555aa336f0245202e87db
3
+ metadata.gz: 8504a58553dd2350496dcd88fe5d903910fa162c77a83ab562e4c5bae1b615a0
4
+ data.tar.gz: 22af49a87049f5713381d9021cbbe0b297f8aa932431774b5e5cb74b59da1537
5
5
  SHA512:
6
- metadata.gz: 13d2ffb486bbdcdcddc38bb639f2330d54634f230786c11933cba029adfa9d2bb4f2589caf86ed2fa1d75b39af5ced548a06ba494761a583d103897f6630841c
7
- data.tar.gz: 216cf0740d673be16c993cfc9f9456bc52fb67c5a9cbb7273deed8a95401f3664ea1ffac6c104228a421b5206f5621d51cbfca1633797ba1a461f51287715456
6
+ metadata.gz: fb7d15bccf95014f87f681153c0f91384d321865818062a892ba1ed44df758ad8409d8e26b566917b3071cd6fc1077d07fbd66538c9fa827538a43ac16b4d290
7
+ data.tar.gz: c17d35a33131ba080d67340473afe955f3671d70b1ebf4163ca632b50913dfba995435a83e35ea23738f37c9a9196078dd45a4a81ce9c0621bbf533e6591bf2b
data/.envrc CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  source_up
4
4
 
5
- export RR=`pwd`
6
- export BUNDLE_GEMFILE=Gemfile
5
+ export RR=$(pwd)
6
+ # BUNDLE_GEMFILE is inherited from the project root .envrc (asgard dev|prod)
data/examples/boot.rb CHANGED
@@ -7,14 +7,17 @@
7
7
  # ROBOT_LAB_WEB_BOOT=examples/boot.rb rackup
8
8
  #
9
9
  # Build whatever robots you want and register each one. The web console reads
10
- # the registry to list and drive them. Actually running a robot requires the
11
- # provider API key for its model (e.g. ANTHROPIC_API_KEY).
10
+ # the registry to list and drive them. This boot file drives a local LM Studio
11
+ # model through the :lms provider start the server first (lms server start).
12
12
 
13
13
  require "robot_lab"
14
14
  require "robot_lab/web"
15
+ require "ruby_llm/providers/lms"
15
16
 
16
17
  assistant = RobotLab.build(
17
18
  name: "assistant",
19
+ provider: "lms",
20
+ model: ENV.fetch("LMS_MODEL", "openai/gpt-oss-20b"),
18
21
  system_prompt: "You are a concise, friendly assistant."
19
22
  )
20
23
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RobotLab
4
4
  module Web
5
- VERSION = "0.2.8"
5
+ VERSION = "0.3.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: robot_lab-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dewayne VanHoozer
@@ -13,16 +13,16 @@ dependencies:
13
13
  name: robot_lab
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ">="
16
+ - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '0.1'
18
+ version: '0.3'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
- - - ">="
23
+ - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '0.1'
25
+ version: '0.3'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: sinatra
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  requirements: []
175
- rubygems_version: 4.0.20
175
+ rubygems_version: 4.0.21
176
176
  specification_version: 4
177
177
  summary: 'Browser console for robot_lab: stream a robot''s run over Server-Sent Events.'
178
178
  test_files: []