/
githubmirror
/
OpenAgents
Обзор
Документация
Войти
/
githubmirror
/
OpenAgents
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
real_agents/plugins_agent/plugins/JobInterview/paths/submit_answer.py
12 строк
361 B
Tianbao Xie
Update plugins (#135)
28 май 2024, 08:59
Не верифицирован
28 май 2024, 08:59
fab2c1b
Код
Авторство
О чём код?
from typing import Any, Dict import requests def call_api(input_json: Dict[str, Any]) -> Dict[str, Any]: response = requests.post("https://c-interview.copilot.us/api/answers/submit", json=input_json) if response.status_code == 200: return response.json() else: return {"status_code": response.status_code, "text": response.text}