User Request
- Remove "Just you" solo chats — conversations must have exactly 2 participants. The current e2e tests create chats with only the caller, producing "Just you" entries.
- Two-user message exchange screenshot — show a conversation between two users with messages from both sides.
- Real agent conversation with TestLLM — use the existing
simple-hello model on TestLLM to create a chat with a real agent (agynd + codex) and assert the agent's scripted response.
Specification
1. Fix solo chats in e2e tests
chat-detail.spec.ts and chats-list.spec.ts call createChat(page) without a second participant → falls back to self-only chat
- Fix: these tests must create chats with a second participant (user B from multi-user fixtures, or an agent)
- UI: remove "Just you" fallback in
Chats.tsx, enforce at least one non-self participant in the new chat flow
2. Two-user exchange screenshot
chat-exchange.spec.ts already exchanges messages between user A and B
- Add an Argos screenshot from user A's view showing both incoming and outgoing messages
3. Real agent conversation via TestLLM
Architecture: User sends message → Chat/Threads → agents-orchestrator detects unacked message → starts agent pod (agynd + codex via agent-init-codex) → codex calls TestLLM → agent sends response → user sees it.
TestLLM endpoint: https://testllm.dev/v1/org/agynio/suite/agn/responses
Model: simple-hello — user sends "hi", agent responds "Hi! How are you?"
Agent setup (via API in test):
- Create organization
- Create agent with:
image: any base (e.g., alpine:3.21)
initImage: ghcr.io/agynio/agent-init-codex:0.1.0
- Per-agent env vars:
OPENAI_BASE_URL, OPENAI_API_KEY, THREADS_ADDRESS, NOTIFICATIONS_ADDRESS, TEAMS_ADDRESS
- Model field: any UUID (unused by codex path, codex reads OPENAI_BASE_URL)
E2e test flow:
- Create org, create agent with env vars pointing to TestLLM
- Create chat with agent as participant
- Send "hi"
- Poll GetMessages until agent responds (with timeout)
- Assert response contains "Hi! How are you?"
- Argos screenshot
Gateway RPCs needed in chat-api.ts:
AgentsGateway/CreateEnv — set env vars on agent
AgentsGateway/CreateInitScript — (if needed for config file)
- Existing:
CreateAgent, CreateChat, SendMessage, GetMessages
User Request
simple-hellomodel on TestLLM to create a chat with a real agent (agynd + codex) and assert the agent's scripted response.Specification
1. Fix solo chats in e2e tests
chat-detail.spec.tsandchats-list.spec.tscallcreateChat(page)without a second participant → falls back to self-only chatChats.tsx, enforce at least one non-self participant in the new chat flow2. Two-user exchange screenshot
chat-exchange.spec.tsalready exchanges messages between user A and B3. Real agent conversation via TestLLM
Architecture: User sends message → Chat/Threads → agents-orchestrator detects unacked message → starts agent pod (agynd + codex via agent-init-codex) → codex calls TestLLM → agent sends response → user sees it.
TestLLM endpoint:
https://testllm.dev/v1/org/agynio/suite/agn/responsesModel:
simple-hello— user sends "hi", agent responds "Hi! How are you?"Agent setup (via API in test):
image: any base (e.g.,alpine:3.21)initImage:ghcr.io/agynio/agent-init-codex:0.1.0OPENAI_BASE_URL,OPENAI_API_KEY,THREADS_ADDRESS,NOTIFICATIONS_ADDRESS,TEAMS_ADDRESSE2e test flow:
Gateway RPCs needed in chat-api.ts:
AgentsGateway/CreateEnv— set env vars on agentAgentsGateway/CreateInitScript— (if needed for config file)CreateAgent,CreateChat,SendMessage,GetMessages