feat : fix displaying problem + memory compression on loading + personality prompt + technical image

This commit is contained in:
martin legrand
2025-03-28 14:43:05 +01:00
parent 8cba1bad43
commit c862d496e3
32 changed files with 448 additions and 66 deletions
+17 -2
View File
@@ -26,7 +26,8 @@ class Provider:
"openai": self.openai_fn,
"lm-studio": self.lm_studio_fn,
"huggingface": self.huggingface_fn,
"deepseek": self.deepseek_fn
"deepseek": self.deepseek_fn,
"test": self.test_fn
}
self.api_key = None
self.unsafe_providers = ["openai", "deepseek"]
@@ -245,13 +246,27 @@ class Provider:
This is a test response from the test provider.
Change provider to 'ollama' or 'server' to get real responses.
This is python saying hello.
```python
print("Hello world from python")
```
This is ls -la from bash.
```bash
echo "Hello world from bash"
ls -la
```
This is pwd from bash.
```bash
pwd
```
This is unsafe command.
```bash
rm does_not_exist.txt
```
goodbye
"""
return thought