Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: Deploy

on:
push:
branches: [main]
workflow_run:
workflows: ["Build & Push Docker Image"]
types: [completed]

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: ${{ github.event.repository.full_name }}

jobs:
deploy:
runs-on: self-hosted
needs: docker
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Deploy container
run: |
Expand Down
5 changes: 5 additions & 0 deletions tests/test_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
from agent_box.session_manager import SessionManager


@pytest.fixture(autouse=True)
def set_router_env(monkeypatch):
monkeypatch.setenv("ANTHROPIC_SMALL_FAST_MODEL", "claude-haiku")


def _msg(text: str) -> IncomingMessage:
return IncomingMessage(text=text, user_id="u1", channel="test")

Expand Down
Loading