Skip to content

Commit 1d9c030

Browse files
author
Thordata
committed
feat: major refactor and enhancements
- Update to SDK 1.8.4+ with namespace API - Add ThordataTaskTool and ThordataAccountTool - Add OpenRouter integration with 30+ free models - Add comprehensive test suite - Enhance documentation - Fix date in CHANGELOG - Clean up repository structure
1 parent dfa2178 commit 1d9c030

24 files changed

+2194
-394
lines changed

.env.example

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
# Thordata LangChain Tools Configuration
2-
# Copy this file to .env and fill in your credentials
3-
4-
# Required: Get from Thordata Dashboard
1+
# Thordata Credentials (Required)
52
THORDATA_SCRAPER_TOKEN=your_scraper_token_here
63

74
# Optional: For advanced features
85
THORDATA_PUBLIC_TOKEN=your_public_token_here
96
THORDATA_PUBLIC_KEY=your_public_key_here
107

11-
# Optional: For geo-targeted proxy requests
12-
THORDATA_USERNAME=your_proxy_username
13-
THORDATA_PASSWORD=your_proxy_password
14-
15-
# Optional: For agent examples
16-
OPENAI_API_KEY=your_openai_key_here
8+
# LLM API Key (Optional: for agent examples)
9+
# Choose one or both:
10+
ZHIPU_API_KEY=your_zhipu_api_key_here
11+
OPENROUTER_API_KEY=your_openrouter_api_key_here

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Changelog
2+
3+
## [1.1.0] - 2026-02-13
4+
5+
### Added
6+
- **ThordataTaskTool**: Run pre-built Web Scraper tasks for ecommerce, social media, travel, etc.
7+
- **ThordataAccountTool**: Check account balance and usage statistics
8+
- **OpenRouter integration**: Support for 30+ free models via OpenRouter API
9+
- **Enhanced error handling**: Better error messages and fallback mechanisms
10+
- **Comprehensive examples**: Added test_all_features.py and examples/README.md
11+
12+
### Improved
13+
- Updated to use latest SDK API (1.8.4+)
14+
- Optimized OpenRouter model selection with automatic fallback
15+
- Simplified codebase structure
16+
- Enhanced documentation
17+
18+
### Fixed
19+
- Fixed AccountTool API usage
20+
- Fixed batch tool async context management
21+
- Improved Windows console encoding support
22+
23+
## [1.0.0] - 2026-02-13
24+
25+
### Initial Release
26+
- Core tools: SERP, Scrape, Markdown, Batch operations
27+
- ZhipuAI integration
28+
- Comprehensive test suite
29+
- Complete documentation

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Thordata · AI Proxy & Web Data
3+
Copyright (c) 2026 Thordata · AI Proxy & Web Data
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)