Commit Graph

113 Commits

Author SHA1 Message Date
UnaiAlias 1c79507140
CAI 1.1.5 release (#455) 2026-06-05 13:43:19 +02:00
Ameer Pornillos 5d892a9267 Added additional prompt injections PoCs 15 and 16 (#276)
* Added prompt injections PoCs

* Mitigate PoCs 15 and 16

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

---------

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
Co-authored-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-10-08 16:23:59 +02:00
luijait 82d0121bd8 async sessions + friendly IDs + tolerant session commands (#253)
* Manual port: async sessions + friendly IDs + tolerant session commands over origin/main; add tests for interactive sessions; no push

* Add guardrail tests

---------

Co-authored-by: System Administrator <root@MacBook-Air-de-luijait.local>
2025-08-29 15:34:48 +02:00
luijait a979cb761a Fix tests 2025-06-18 10:55:31 +02:00
Luis Javier Navarrete Lozano 56c0cd96c2 Merge branch 'new-agents' into '0.5.0'
Added new agents

See merge request aliasrobotics/alias_research/cai!225
2025-06-17 16:03:19 +00:00
luijait 9c7205c0c1 Fix bad imports and bad arguments in agents 2025-06-17 17:44:27 +02:00
Víctor Mayoral Vilches 04359a07f3 Revert "Apply code formatting with make format" 2025-06-14 09:51:19 +00:00
luijait ba17d16d11 Fix generc linux command test 2025-05-27 12:39:00 +02:00
Víctor Mayoral Vilches 5ab7f64562 Merge branch '0.4.0' of https://gitlab.com/aliasrobotics/alias_research/cai into 0.4.0 2025-05-26 10:58:52 +02:00
Víctor Mayoral Vilches 912ce4cb4d switch to .3 for 0.4.0 to avoid conflicts
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-05-26 10:58:49 +02:00
luijait 9af18a6e34 Add testg 2025-05-26 08:43:15 +00:00
luijait c69c4bcdbd Test 2025-05-25 14:27:59 +00:00
luijait 64fa082a16 testing 2025-05-23 20:17:41 +02:00
luijait 4f26e395e0 add unit tests for pricing 2025-05-23 15:11:28 +02:00
luijait 699017af02 Pricing 2025-05-23 14:37:45 +02:00
luijait 8a6200775e Fix pretty print 2025-05-08 09:31:39 +02:00
lidia9 483591f36a adding fake openai api key 2025-04-30 12:35:40 +02:00
lidia9 8c1dea4697 remove set disable in test 2025-04-30 11:41:40 +02:00
Mery-Sanz 957539880e tracing disabled 2025-04-30 11:37:06 +02:00
Mery-Sanz e3d8d25fce final fiz 2025-04-23 09:04:48 +02:00
Mery-Sanz fd12d531e3 fix test name 2025-04-23 08:12:09 +02:00
Mery-Sanz e8bb5ab241 add test 2025-04-22 16:48:12 +02:00
Mery-Sanz 016c27c4af fix agent and add primary test 2025-04-22 16:32:26 +02:00
Mery-Sanz 6bafa0235f test 2025-04-11 13:49:06 +02:00
Mery-Sanz 5cd571976a fix pipleines 2025-04-11 12:24:32 +02:00
Mery-Sanz bd33d3fd67 change gpt-4o and install in .yml 2025-04-11 11:38:21 +02:00
Mery-Sanz ed73fe1a08 try to add ci 2025-04-11 10:06:25 +02:00
Mery-Sanz 00a50a03ae fix test 2025-04-11 09:34:06 +02:00
Mery-Sanz 58985f9d57 fix mcp test 2025-04-11 08:24:26 +02:00
Mery-Sanz 99469a17e2 fix function schema test 2025-04-11 08:11:26 +02:00
Mery-Sanz f07059cbd5 fix some test 2025-04-11 08:04:19 +02:00
Mery-Sanz 7e3af1842a add coments and docstring 2025-04-10 09:57:35 +02:00
Mery-Sanz 2a32bd9e9b improve test 2025-04-10 09:42:16 +02:00
Mery-Sanz 75869265a5 add more test 2025-04-10 09:27:56 +02:00
Mery-Sanz 9532fe42f5 add new test and fix previous 2025-04-10 08:54:21 +02:00
Mery-Sanz 8a2778769d add test 2025-04-10 07:58:40 +02:00
Mery-Sanz 8aa1ae0424 final fix 2025-04-09 16:17:06 +02:00
Mery-Sanz 73de470fb0 fix more test 2025-04-09 16:07:58 +02:00
Mery-Sanz c083ecf69f fix more test 2025-04-09 15:59:24 +02:00
Mery-Sanz f88365b11d add 2 more test 2025-04-09 15:54:58 +02:00
Mery-Sanz 05fab61056 fix test_agent_runner 2025-04-09 15:51:05 +02:00
Mery-Sanz 4ae76ecd29 fix test_agent_hooks.py and reorganize imports 2025-04-09 15:46:53 +02:00
María Sanz Gómez ef64c7a1e4 fix tests/test_agent_config.py 2025-04-09 15:42:26 +02:00
Víctor Mayoral Vilches d1fd6623e5 Merge remote-tracking branch 'origin/main' into cai 2025-03-31 13:21:34 +02:00
Víctor Mayoral Vilches 944128583c CLI responding, but only to proprietary models
Need to investigate why self-hosted models via OLLAMA fail API-wise

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-03-28 09:48:16 +01:00
Steven Heidel d1e94324e8 Expose the "store" parameter through ModelSettings (#357)
Closes https://github.com/openai/openai-agents-python/issues/173

This will also set stored completions to True by default, encouraging a
best practice.
2025-03-26 19:01:28 -04:00
Rohan Mehta 5ff0baddc3 Raise error on more invalid function schemas (#356)
Towards #345

## Summary:
Using a `dict` or `Mapping` isn't strict-mode compliant. But we were
checking for the literal `True` whereas the value can also be an array,
for example. Fix that.

## Test Plan:

Unit tests
2025-03-26 15:52:19 -04:00
pakrym-oai 0fa5849839 Mark handoff span as errored when multiple handoffs are requested (#344)
Also includes the set of requested agents in the error data.
<img width="968" alt="image"
src="https://github.com/user-attachments/assets/0c5c2e81-08f7-445c-bbb0-3e169ef744a5"
/>
2025-03-26 10:44:59 -04:00
Rohan Mehta b870b90471 [5/n] MCP tracing (#342)
## Summary:

Adds tracing and tests for tracing.
- Tools are added to the agents
- Theres a span for the mcp tools lookup
- Functions have MCP data

## Test Plan:

Unit tests
.
2025-03-25 19:54:28 -04:00
Rohan Mehta 6cb8b1ceaa [5/n] MCP tracing
## Summary:

Adds tracing and tests for tracing.
- Tools are added to the agents
- Theres a span for the mcp tools lookup
- Functions have MCP data

## Test Plan:

Unit tests
.
2025-03-25 19:28:48 -04:00