{"id":26723,"library":"anteroom","title":"Anteroom","description":"Anteroom is a Python library for managing AI conversations, providing a unified interface for streaming, history, and tool calls. Current version is 1.174.0, with frequent releases.","status":"active","version":"1.174.0","language":"python","source_language":"en","source_url":"https://github.com/example/anteroom","tags":["AI","conversation","chat"],"install":[{"cmd":"pip install anteroom","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Used to load environment variables from .env files","package":"python-dotenv","optional":true}],"imports":[{"note":"Direct import on the module does not expose Anteroom class; must use from import.","wrong":"import anteroom","symbol":"Anteroom","correct":"from anteroom import Anteroom"}],"quickstart":{"code":"from anteroom import Anteroom\nimport os\nos.environ.setdefault('ANTEROOM_API_KEY', 'your-api-key')\nanteroom = Anteroom()\nresponse = anteroom.send(\"Hello, world!\")\nprint(response.text)","lang":"python","description":"Initialize Anteroom client, send a message, and print the response."},"warnings":[{"fix":"Use `anteroom.chat(\"Hello\")` instead of `anteroom.send(\"Hello\")`.","message":"In version 1.170.0, the `send` method was renamed to `chat`. Using `send` will raise AttributeError.","severity":"breaking","affected_versions":">=1.170.0,<1.171.0"},{"fix":"Set `os.environ['ANTEROOM_API_KEY'] = '...'` or pass `api_key='...'` to `Anteroom()`.","message":"API keys are not automatically loaded; you must set `ANTEROOM_API_KEY` environment variable or pass it to the constructor.","severity":"gotcha","affected_versions":"all"},{"fix":"Use synchronous calls; for async, consider using `asyncio.to_thread`.","message":"The `async` mode is deprecated as of 1.165.0 and will be removed in a future release.","severity":"deprecated","affected_versions":">=1.165.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `from anteroom import Anteroom`.","cause":"You imported the package with `import anteroom` but tried to use `anteroom.Anteroom` without the correct from import.","error":"AttributeError: module 'anteroom' has no attribute 'Anteroom'"},{"fix":"Use `anteroom.chat(\"your message\")`.","cause":"You are using `send()` method which was renamed to `chat()` in version 1.170.0.","error":"AttributeError: 'Anteroom' object has no attribute 'send'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}