]> git.giacomolli.uk - onechat/commit
Name and order the agent and config code
authorAnderson A. Giacomolli <redacted>
Sat, 7 Nov 2026 17:06:14 +0000 (14:06 -0300)
committerAnderson A. Giacomolli <redacted>
Sat, 7 Nov 2026 17:06:14 +0000 (14:06 -0300)
commit7cc0014244124aea59672904de65a979a8e5fb2c
tree8502ccb7af0d2c1ecfad66a28630cd7ea16531fa
parentb94f6248bfaa989d4da6b0980648be20bf5a07d2
Name and order the agent and config code

The names that only the agent or only the config uses start with agent
or config: the instructions file of the agent and the endpoint values of
config.json. Config and ModelConfig stay generic, because the daemon,
the probe, the model client, and the compactor read them.

The data directory is in datadir.go, with its tests in datadir_test.go,
because the login, the terminal client, the daemon, and the probe use
it, and it is not a part of config.json. The declarations of these files
follow the order of the go-code skill. The behavior does not change.

Issue: 947bddb
agent.go
agent_test.go
chatgpt_test.go
config.go
config_test.go
datadir.go [new file with mode: 0644]
datadir_test.go [new file with mode: 0644]
model.go