453 Commits

Author SHA1 Message Date
JobvAlewijk
79d3bfb3a6 test: added tests for programs and its scheme
ref: N25B-198
2025-11-12 17:36:00 +01:00
JobvAlewijk
43f3cba1a8 feat: ui program to cb connection
ref: N25B-198
2025-11-12 13:18:56 +01:00
Björn Otgaar
9152985bdb fix: send correct asl path to BDI agent
ref: N25B-257
2025-11-12 12:46:47 +01:00
Björn Otgaar
7a707cf9a0 refactor: change test folder structure, rename functions to account for (non)changing behaviours and clarity
ref: N25B-257
2025-11-12 12:42:54 +01:00
Björn Otgaar
9365f109ab refactor: restructure to make sure the Bel agents are also part of BDI.
ref: N25B-257
2025-11-12 12:01:37 +01:00
Björn Otgaar
dfebe6f772 refactor: make sure that in main the correct names and passwords are called for starting the agents
ref: N25B-257
2025-11-12 11:36:51 +01:00
Björn Otgaar
0e45383027 refactor: rename all agents and improve structure pt1
ref: N25B-257
2025-11-12 11:04:49 +01:00
Björn Otgaar
debc87c0bb fix: Fix up merging request changes and make sure that there is no racing condition errors, and UI always gets correct information.
ref: N25B-256
2025-11-11 10:18:43 +01:00
Pim Hutting
e1918325e2 chore: making tests pass after merge
I had to make use of monkeypatch to simulate using the config file

ref: N25B-236
2025-11-09 14:45:08 +01:00
Björn Otgaar
2d1a25e4ae chore: fixing up logging messages 2025-11-06 14:49:54 +01:00
Björn Otgaar
6cc03efdaf feat: new integration tests for robot, making sure to get 100% code coverage
ref: N25B-256
2025-11-06 14:42:02 +01:00
Björn Otgaar
00d3e893f4 chore: merge dev and make sure vs doesnt cry 2025-11-06 14:27:52 +01:00
Björn Otgaar
be5dc7f04b fix: fixed integration tests due to new change
ref: N25B-256
2025-11-06 14:26:02 +01:00
Björn Otgaar
feb6875a4c fix: make sure that the communication agent reboots propperly.
ref: N25B-256
2025-11-06 14:16:55 +01:00
Luijkx,S.O.H. (Storm)
781a05328f Merge branch 'test/belief_from_text' into 'dev'
test: added tests for text_belief_extractor

See merge request ics/sp/2025/n25b/pepperplus-cb!22
2025-11-06 12:57:09 +00:00
Luijkx,S.O.H. (Storm)
1c756474f2 test: added tests for text_belief_extractor 2025-11-06 12:57:09 +00:00
Björn Otgaar
276ccfbf78 chore: merged dev into branch and updated logging 2025-11-06 13:52:12 +01:00
Pim Hutting
594ad91b6d fix: removed non used values from config
ref: N25B-236
2025-11-05 17:32:26 +01:00
Björn Otgaar
ca8b57fec5 fix: robot pings to router
ref: N25B-256
2025-11-05 16:59:36 +01:00
Pim Hutting
a11527141b chore: merge current dev into refactor/config-file
ref: N25B-236
2025-11-05 16:48:13 +01:00
df7dc8fdf3 fix: no double json
ref: N25B-242
2025-11-05 16:38:03 +01:00
Pim Hutting
6235fcdaf4 Merge branch 'refactor/logging' into 'dev'
Restructure logging

See merge request ics/sp/2025/n25b/pepperplus-cb!21
2025-11-05 15:31:06 +00:00
Björn Otgaar
8638523980 fix: fixed new tests and merged dev into branch
ref: N25B-256
2025-11-05 16:29:56 +01:00
9e7119481c fix: tests pass
ref: N25B-241
ref: N25B-242
2025-11-05 16:08:28 +01:00
Pim Hutting
b15dea9e98 refactor: merge main into config-file
ref: N25B-236
2025-11-05 15:24:44 +01:00
d9fef22090 Merge branch 'dev' into refactor/logging 2025-11-05 15:09:14 +01:00
4d38850a1d Merge branch 'demo' into 'dev'
End to end connected for demo

See merge request ics/sp/2025/n25b/pepperplus-cb!17
2025-11-05 14:01:41 +00:00
Twirre Meulenbelt
262376fb58 fix: break LLM response with fewer types of punctuation
ref: N25B-207
2025-11-05 15:01:01 +01:00
Twirre Meulenbelt
06e9e4fd15 chore: ruff format 2025-11-05 14:15:03 +01:00
220c5c7739 feat: send logs to UI
Added SSE endpoint `/logs/stream` for the UI to listen to logs.

ref: N25B-242
2025-11-05 13:57:51 +01:00
Pim Hutting
da2df94192 chore: merge dev into refactor/config-file
Merged the latest changes from dev into this branch to stay up to date with current development.

ref: N25B-236
2025-11-05 13:49:38 +01:00
Pim Hutting
9e926178da refactor: remove constants and put in config file
removed all constants from all files and put them in src/control_backend/core/config.py
also removed some old mock agents that we don't use anymore

ref: N25B-236
2025-11-05 13:43:57 +01:00
Twirre Meulenbelt
1b58549c2a test: fix expected test value after changing audio token allowance
ref: N25B-209
2025-11-05 12:41:48 +01:00
e49ccb213e Merge branch 'dev' into refactor/logging 2025-11-05 12:40:31 +01:00
Twirre Meulenbelt
689a0d35da Merge remote-tracking branch 'origin/dev' into demo 2025-11-05 12:38:08 +01:00
Twirre
12abf49f55 Merge branch 'refactor/zmq-internal-socket-behaviour' into 'dev'
Refactored ZMQ context implementation

See merge request ics/sp/2025/n25b/pepperplus-cb!16
2025-11-05 11:35:26 +00:00
Twirre Meulenbelt
f854a60e46 style: import order and lines too long
ref: N25B-217
2025-11-05 12:34:30 +01:00
Twirre Meulenbelt
2c867adce2 fix: go back to the working ri command endpoint test
Merged the wrong version because it seemed to solve the same problem. It did not. Now using the one I commited two commits ago.

ref: N25B-217
2025-11-05 12:22:42 +01:00
Twirre Meulenbelt
a1918049e5 Merge remote-tracking branch 'origin/dev' into refactor/zmq-internal-socket-behaviour
# Conflicts:
#	src/control_backend/agents/ri_command_agent.py
#	src/control_backend/agents/ri_communication_agent.py
#	src/control_backend/api/v1/endpoints/command.py
#	src/control_backend/main.py
#	test/integration/api/endpoints/test_command_endpoint.py
2025-11-05 12:16:18 +01:00
Twirre Meulenbelt
b008562554 fix: tests
To work with the new zmq instance context.

ref: N25B-217
2025-11-05 12:08:07 +01:00
Twirre Meulenbelt
5c228df109 fix: allow Whisper to generate more tokens based on audio length
Before, it sometimes cut off the transcription too early.

ref: N25B-209
2025-11-05 10:41:11 +01:00
feff037d3a chore: add new handler in logging config
Not used yet, will be in the future.
2025-11-05 10:38:44 +01:00
c7bdb5aeda chore: run linter and formatter 2025-11-04 21:00:12 +01:00
270df83fab Merge branch 'dev' into refactor/logging 2025-11-04 20:54:03 +01:00
a98018ddda refactor: agents inherit logger from BaseAgent
Created a class `BaseAgent`, from which all agents inherit. They get
assigned a logger with a nice name (something like
`control_backend.agents.AgentName`).

The BDI core takes care of its own logger, as bdi is still a module.

ref: N25B-241
2025-11-04 20:48:55 +01:00
Björn Otgaar
da30c392aa Merge branch 'fix/skip-checking-auto-commits' into 'dev'
Automated commit detection

See merge request ics/sp/2025/n25b/pepperplus-cb!20
2025-11-03 14:35:40 +00:00
cb5457b6be feat: check for squash commits
ref: N25B-241
2025-11-03 15:29:06 +01:00
360f601d00 feat: chore doesn't need ref
If we detect a chore commit, we don't check for the correct ref/close
footer.

ref: N25B-241
2025-11-03 15:23:11 +01:00
e53792b67c Merge branch 'fix/skip-checking-auto-commits' of git.science.uu.nl:ics/sp/2025/n25b/pepperplus-cb into fix/skip-checking-auto-commits 2025-11-03 14:58:56 +01:00
3c8cee54eb fix: pattern matching instead of file existence
The previous method of detecting automated commits was error-prone,
specifically when using VSCode to commit changes. This new method uses a
simple Regex pattern match to see if the commit message matches any
known auto-generated commits.

ref: N25B-241
2025-11-03 14:57:44 +01:00