roast-ai 0.1.2 → 0.1.3
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +3 -3
- data/lib/roast/tools/read_file.rb +2 -1
- data/lib/roast/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e40b7ab08d8d4c70d9d884c2c76027ad1426bcdacbae92121b162cc33aa45548
|
4
|
+
data.tar.gz: 936ab6e40dfbfbcef29f68edbb1a7ea41a895d719782f2125c24f47e71005eeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c8de8b0ac1ee9496a869d056fb75de2101b4f1b674bde76c703a913ae749d22c650b44c783e8ebff4127862baa168e4ba1680f1e62bd60574068ba53c88f154
|
7
|
+
data.tar.gz: f770140fee92dd287d171c52b61d437bbbb3ad7bbe0edc121c68cdb71d4b7628ebbbe1e56946cd8a251ecb991e803e79e62f7d084d59a0efc0efc2ce30b13769
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [0.1.3] - 2024-05-10
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
- ReadFile tool now handles absolute and relative paths correctly
|
12
|
+
|
13
|
+
[0.1.3]: https://github.com/Shopify/roast/releases/tag/v0.1.3
|
14
|
+
|
15
|
+
|
8
16
|
## [0.1.2] - 2024-05-09
|
9
17
|
|
10
18
|
### Fixed
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -15,7 +15,7 @@ Roast provides a structured, declarative approach to building AI workflows with:
|
|
15
15
|
- **Step customization**: Steps can be fully configured with their own AI models and parameters.
|
16
16
|
- **Session replay**: Rerun previous sessions starting at a specified step to speed up development time
|
17
17
|
- **Parallel execution**: Run multiple steps concurrently to speed up workflow execution
|
18
|
-
- **Function caching
|
18
|
+
- **Function caching**: Flexibly cache the results of tool function calls to speed up workflows
|
19
19
|
- **Extensive instrumentation**: Monitor and track workflow execution, AI calls, and tool usage ([see instrumentation documentation](docs/INSTRUMENTATION.md))
|
20
20
|
|
21
21
|
## What does it look like?
|
@@ -423,13 +423,13 @@ your-project/
|
|
423
423
|
## Installation
|
424
424
|
|
425
425
|
```bash
|
426
|
-
$ gem install roast
|
426
|
+
$ gem install roast-ai
|
427
427
|
```
|
428
428
|
|
429
429
|
Or add to your Gemfile:
|
430
430
|
|
431
431
|
```ruby
|
432
|
-
gem 'roast'
|
432
|
+
gem 'roast-ai'
|
433
433
|
```
|
434
434
|
|
435
435
|
## Development
|
@@ -32,11 +32,12 @@ module Roast
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def call(path)
|
35
|
+
path = File.expand_path(path)
|
35
36
|
Roast::Helpers::Logger.info("📖 Reading file: #{path}\n")
|
36
37
|
if File.directory?(path)
|
37
38
|
%x(ls -la #{path})
|
38
39
|
else
|
39
|
-
File.read(
|
40
|
+
File.read(path)
|
40
41
|
end
|
41
42
|
rescue StandardError => e
|
42
43
|
"Error reading file: #{e.message}".tap do |error_message|
|
data/lib/roast/version.rb
CHANGED