generated from coulomb/repo-seed
Add automation status surface
This commit is contained in:
@@ -13,7 +13,12 @@ def test_llm_connect_client_forwards_run_config(monkeypatch) -> None:
|
||||
pass
|
||||
|
||||
def json(self) -> dict:
|
||||
return {"content": '{"summary":"ok","recommendations":[]}'}
|
||||
return {
|
||||
"content": '{"summary":"ok","recommendations":[]}',
|
||||
"finish_reason": "stop",
|
||||
"usage": {"input_tokens": 10, "output_tokens": 20},
|
||||
"raw_response": {"provider_blob": "not persisted"},
|
||||
}
|
||||
|
||||
def fake_post(url: str, json: dict, timeout: float) -> Response:
|
||||
captured["url"] = url
|
||||
@@ -50,3 +55,7 @@ def test_llm_connect_client_forwards_run_config(monkeypatch) -> None:
|
||||
"timeout_seconds": 42,
|
||||
},
|
||||
}
|
||||
assert client.last_response_metadata == {
|
||||
"finish_reason": "stop",
|
||||
"usage": {"input_tokens": 10, "output_tokens": 20},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user