doc: corrections and removal of outdated info
This commit is contained in:
parent
60d1e1938b
commit
a6b59eb001
2 changed files with 10 additions and 33 deletions
37
README.md
37
README.md
|
|
@ -40,12 +40,6 @@ async def main():
|
||||||
asyncio.run(main())
|
asyncio.run(main())
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3. Run tests
|
|
||||||
|
|
||||||
```bash
|
|
||||||
python3 test.py
|
|
||||||
```
|
|
||||||
|
|
||||||
## 🔐 Security Features
|
## 🔐 Security Features
|
||||||
|
|
||||||
### Hybrid Encryption
|
### Hybrid Encryption
|
||||||
|
|
@ -230,11 +224,17 @@ asyncio.run(main())
|
||||||
|
|
||||||
## 📦 Dependencies
|
## 📦 Dependencies
|
||||||
|
|
||||||
See `requirements.txt` for the complete list:
|
|
||||||
|
|
||||||
- `cryptography`: Cryptographic primitives (RSA, AES, etc.)
|
|
||||||
- `httpx`: Async HTTP client
|
|
||||||
- `anyio`: Async compatibility layer
|
- `anyio`: Async compatibility layer
|
||||||
|
- `certifi`: TLS/SSL certificates
|
||||||
|
- `cffi`: C Foreign Function Interface
|
||||||
|
- `cryptography`: Cryptographic primitives (RSA, AES, etc.)
|
||||||
|
- `exceptiongroup`: Exception groups backport
|
||||||
|
- `h11`: HTTP/1.1 protocol implementation
|
||||||
|
- `httpcore`: Minimal HTTP client
|
||||||
|
- `httpx`: Async HTTP client
|
||||||
|
- `idna`: Internationalized domain names
|
||||||
|
- `pycparser`: C parser for cffi
|
||||||
|
- `typing_extensions`: Backported typing hints
|
||||||
|
|
||||||
## 🔧 Configuration
|
## 🔧 Configuration
|
||||||
|
|
||||||
|
|
@ -325,23 +325,6 @@ async def main():
|
||||||
asyncio.run(main())
|
asyncio.run(main())
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🧪 Testing
|
|
||||||
|
|
||||||
Run the comprehensive test suite:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
python3 test.py
|
|
||||||
```
|
|
||||||
|
|
||||||
Tests verify:
|
|
||||||
|
|
||||||
- ✅ OpenAI API compatibility
|
|
||||||
- ✅ Basic chat completion
|
|
||||||
- ✅ Tool usage
|
|
||||||
- ✅ All OpenAI parameters
|
|
||||||
- ✅ Async methods
|
|
||||||
- ✅ Error handling
|
|
||||||
|
|
||||||
## 📚 API Reference
|
## 📚 API Reference
|
||||||
|
|
||||||
### SecureChatCompletion
|
### SecureChatCompletion
|
||||||
|
|
|
||||||
|
|
@ -188,12 +188,6 @@ The client includes comprehensive security testing:
|
||||||
- Memory protection is validated
|
- Memory protection is validated
|
||||||
- Error handling is tested
|
- Error handling is tested
|
||||||
|
|
||||||
Run the test suite to verify security:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
python3 test.py
|
|
||||||
```
|
|
||||||
|
|
||||||
## Troubleshooting Security Issues
|
## Troubleshooting Security Issues
|
||||||
|
|
||||||
### Common Issues
|
### Common Issues
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue