Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
AGENT_SERVER_PORT: 8010
HOST_WORKSPACE_DIR: /tmp/agent-workspace
AGENT_WORKSPACE_DIR: /workspace
AGENT_SERVER_IMAGE: ghcr.io/openhands/agent-server:1.24.0-python
AGENT_SERVER_IMAGE: ghcr.io/openhands/agent-server:1.29.0-python

jobs:
integration-test:
Expand Down
6 changes: 3 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,10 @@ Integration tests are in `src/__tests__/integration/` and require a running agen
export LLM_API_KEY="your-api-key"
export LLM_MODEL="anthropic/claude-sonnet-4-5-20250929"

# Start agent-server in Docker (software-agent-sdk v1.24.0)
# Start agent-server in Docker (software-agent-sdk v1.29.0)
docker run -d --name agent-server -p 8010:8000 \
-v /tmp/agent-workspace:/workspace \
ghcr.io/openhands/agent-server:1.24.0-python
ghcr.io/openhands/agent-server:1.29.0-python

# Run integration tests
npm run test:integration
Expand Down Expand Up @@ -336,7 +336,7 @@ Required GitHub secrets:

### CI Image Version

- The integration workflow pins `ghcr.io/openhands/agent-server:1.24.0-python`, which corresponds to the `software-agent-sdk` release `v1.24.0`.
- The integration workflow pins `ghcr.io/openhands/agent-server:1.29.0-python`, which corresponds to the `software-agent-sdk` release `v1.29.0`.
- Keep the TypeScript client tests strict against that released server image rather than adding compatibility fallbacks for older prerelease builds.

## Agent Behavior Guidelines
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,14 +377,14 @@ Integration tests require a running agent-server in Docker with a mounted worksp
chmod 777 /tmp/agent-workspace
```

2. Start the agent-server container (software-agent-sdk v1.24.0):
2. Start the agent-server container (software-agent-sdk v1.29.0):

```bash
docker run -d \
--name agent-server \
-p 8010:8000 \
-v /tmp/agent-workspace:/workspace \
ghcr.io/openhands/agent-server:1.24.0-python
ghcr.io/openhands/agent-server:1.29.0-python
```

3. Wait for the server to be ready:
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/api-clients.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ describe('Auxiliary API clients', () => {
);

expect(global.fetch).toHaveBeenCalledWith(
'http://example.com/api/acp/conversations',
'http://example.com/api/conversations',
expect.objectContaining({
method: 'POST',
})
Expand Down
10 changes: 5 additions & 5 deletions src/conversation/conversation-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export class ConversationManager {
options: ConversationSearchRequest = {}
): Promise<ACPConversationSearchResponse> {
const response = await this.client.get<ACPConversationSearchResponse>(
'/api/acp/conversations/search',
'/api/conversations/search',
{
params: options as Record<string, unknown>,
}
Expand All @@ -288,7 +288,7 @@ export class ConversationManager {
async countACPConversations(
options: { status?: ConversationExecutionStatus } = {}
): Promise<number> {
const response = await this.client.get<number>('/api/acp/conversations/count', {
const response = await this.client.get<number>('/api/conversations/count', {
params: options,
});
return response.data;
Expand All @@ -301,7 +301,7 @@ export class ConversationManager {
conversationIds: ConversationID[]
): Promise<Array<ACPConversationInfo | null>> {
const response = await this.client.get<Array<ACPConversationInfo | null>>(
'/api/acp/conversations',
'/api/conversations',
{
params: { ids: conversationIds },
}
Expand Down Expand Up @@ -334,7 +334,7 @@ export class ConversationManager {
*/
async getACPConversation(conversationId: ConversationID): Promise<ACPConversationInfo> {
const response = await this.client.get<ACPConversationInfo>(
`/api/acp/conversations/${conversationId}`
`/api/conversations/${conversationId}`
);
return response.data;
}
Expand Down Expand Up @@ -369,7 +369,7 @@ export class ConversationManager {
user_id: options.userId ?? null,
};

const response = await this.client.post<ACPConversationInfo>('/api/acp/conversations', request);
const response = await this.client.post<ACPConversationInfo>('/api/conversations', request);
return response.data;
}

Expand Down
Loading