Merge pull request #70 from LD-Reborn/61-add-a-model-allow-denylist
Added missing configuration file changes
This commit is contained in:
@@ -5,46 +5,23 @@
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"Embeddingsearch": {
|
||||
"BaseUri": "http://localhost:5146"
|
||||
},
|
||||
"EmbeddingsearchIndexer": {
|
||||
"Worker":
|
||||
[
|
||||
"Indexer": {
|
||||
"Workers": [
|
||||
{
|
||||
"Name": "pythonExample",
|
||||
"Script": "Scripts/example.py",
|
||||
"Calls": [
|
||||
{
|
||||
"Name": "intervalCall",
|
||||
"Type": "interval",
|
||||
"Interval": 30000
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "csharpExample",
|
||||
"Script": "Scripts/example.csx",
|
||||
"Calls": [
|
||||
{
|
||||
"Name": "runonceCall",
|
||||
"Type": "runonce"
|
||||
},
|
||||
{
|
||||
"Name": "scheduleCall",
|
||||
"Type": "schedule",
|
||||
"Schedule": "0 0/5 * * * ?"
|
||||
},
|
||||
{
|
||||
"Name": "fileupdateCall",
|
||||
"Type": "fileupdate",
|
||||
"Path": "./Scripts/example_content",
|
||||
"Events": ["Created", "Changed", "Deleted", "Renamed"],
|
||||
"Filters": ["*.md", "*.txt"],
|
||||
"IncludeSubdirectories": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"ApiKeys": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"],
|
||||
"Server": {
|
||||
"BaseUri": "http://localhost:5146",
|
||||
"ApiKey": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
],
|
||||
"LogFolder": "./logs"
|
||||
},
|
||||
"PythonRuntime": "libpython3.12.so"
|
||||
"PythonRuntime": "libpython3.13.so"
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
|
||||
@@ -24,14 +24,15 @@
|
||||
"AiProviders": {
|
||||
"ollama": {
|
||||
"handler": "ollama",
|
||||
"baseURL": "http://192.168.0.101:11434",
|
||||
"Allowlist": ["*"],
|
||||
"baseURL": "http://localhost:11434",
|
||||
"Allowlist": [".*"],
|
||||
"Denylist": ["qwen3-coder:latest", "qwen3:0.6b", "deepseek-v3.1:671b-cloud", "qwen3-vl", "deepseek-ocr"]
|
||||
},
|
||||
"localAI": {
|
||||
"handler": "openai",
|
||||
"baseURL": "http://localhost:8080",
|
||||
"ApiKey": "Some API key here",
|
||||
"Allowlist": ["*"],
|
||||
"Allowlist": [".*"],
|
||||
"Denylist": ["cross-encoder", "kitten-tts", "jina-reranker-v1-tiny-en", "whisper-small", "qwen3-vl-2b-instruct"]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user