mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
cargo test
This commit is contained in:
@@ -577,7 +577,7 @@ mod tests {
|
||||
let messages = body.get("messages").unwrap();
|
||||
|
||||
let expected = serde_json::json!([
|
||||
{"role":"system","content":"You are Codex, an AI assistant."},
|
||||
{"role":"system","content":prompt.get_full_instructions(&config.model)},
|
||||
{"role":"user","content":"hi"},
|
||||
{"role":"assistant","content":"ok"},
|
||||
{"role":"assistant","tool_calls":[{"id":"c1","type":"function","function":{"name":"foo","arguments":"{}"}}]},
|
||||
|
||||
Reference in New Issue
Block a user