Skip to content

Commit e2a1514

Browse files
committed
fix: Remove sensitive data and fix broken tests
- Replace hardcoded IP/API keys with placeholders in specs - Replace production server URL with localhost fallback - Remove broken legacy tests (RemoteAgentBackend no longer exists) - Update README roadmap (OpenRouter integration done) Tests: 19 passed
1 parent b1ee00a commit e2a1514

7 files changed

Lines changed: 6 additions & 229 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ pytest tests/
9797
- [x] TUI Interface (Textual)
9898
- [x] Security interceptor
9999
- [x] Mini-game
100-
- [ ] OpenRouter integration
100+
- [x] OpenRouter integration (3 free models, load balancing)
101101
- [ ] Real tool execution
102102
- [ ] One-liner installer
103103
- [ ] MCP support

feed.theones.io/collector/collect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
OUTPUT_DIR = Path("/home/vizi/feed.theones.io/api")
4343
AGENT_ZERO_URL = os.environ.get(
4444
"AGENTZERO_API_URL",
45-
"http://194.181.240.37:50001/api_message",
45+
"http://localhost:50001/api_message", # Set AGENTZERO_API_URL env var for production
4646
)
4747
AGENT_ZERO_KEY = os.environ.get("AGENTZERO_API_KEY")
4848

specs/feasibility_analysis.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,17 +343,17 @@ async def execute_approved(approval_id: str) -> dict:
343343
# config.yaml - TYLKO TO USER MUSI USTAWIĆ
344344

345345
connection:
346-
api_url: "http://194.181.240.37:50001/api_message"
347-
api_key: "T7kevcXi6oDxfrhK"
346+
api_url: "http://your-server:50001/api_message"
347+
api_key: "your-api-key-here"
348348

349349
# Reszta = auto-discovery przez /config endpoint
350350
# MCP endpoint, tools, capabilities - wszystko automatyczne
351351
```
352352

353353
Lub przez env:
354354
```bash
355-
export AGENTZERO_API_URL="http://194.181.240.37:50001/api_message"
356-
export AGENTZERO_API_KEY="T7kevcXi6oDxfrhK"
355+
export AGENTZERO_API_URL="http://your-server:50001/api_message"
356+
export AGENTZERO_API_KEY="your-api-key-here"
357357
./a0 --cli
358358
```
359359

tests/test_backend_context.py

Lines changed: 0 additions & 93 deletions
This file was deleted.

tests/test_cli_commands.py

Lines changed: 0 additions & 45 deletions
This file was deleted.

tests/test_e2e.py

Lines changed: 0 additions & 61 deletions
This file was deleted.

tests/test_tool_rejection.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)