Skip to content

Refactor/major internal organisation#48

Merged
billybonks merged 4 commits into
mainfrom
refactor/major-internal-organisation
Apr 8, 2026
Merged

Refactor/major internal organisation#48
billybonks merged 4 commits into
mainfrom
refactor/major-internal-organisation

Conversation

@billybonks
Copy link
Copy Markdown
Contributor

update names of classes to match reality

open_ai -openai and claude -> anthropic. claude code stays the same since that is the target

major internal rework of adapter

everytime we change something in the adapter there are large constructor
changes, the current architecture means that developers only have one point of
extension and that is the mapper.

solving bot problems by giving the adapter orchastration methods and more options
to override, then cahnge all base adapter types to be modules that are included

this is seen in how we minified groq code. though its "file" thing will be
removed when we sanitize based on what a model supports

colocated live tests

run live test
bundle exec ruby -Itest -e "Dir['test/**/*_test.rb'].sort.grep(%r{\Atest/integration/live/}).each { |f| require File.expand_path(f) }"

run other tests
bundle exec ruby -Itest -e "Dir['test/**/*_test.rb'].sort.grep_v(%r{\Atest/integration/live/}).each { |f| require File.expand_path(f) }"

gruv added 4 commits April 8, 2026 23:56
everytime we change something in the adapter there are large constructor
changes, the current architecture means that developers only have one point of
extension and that is the mapper.

solving bot problems by giving the adapter orchastration methods and more options
to override, then cahnge all base adapter types to be modules that are included

this is seen in how we minified groq code. though its "file" thing will be
removed when we sanitize based on what a model supports
@billybonks billybonks force-pushed the refactor/major-internal-organisation branch from 6d0d440 to a9b8eff Compare April 8, 2026 15:59
@billybonks billybonks merged commit 5cd9880 into main Apr 8, 2026
1 check passed
@billybonks billybonks deleted the refactor/major-internal-organisation branch April 8, 2026 16:03
@billybonks billybonks restored the refactor/major-internal-organisation branch April 9, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant