bug fixes

This commit is contained in:
jaberjaber23
2026-03-18 23:00:36 +03:00
parent cea4c3f452
commit 44f37711cb
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -76,3 +76,6 @@ memory_read = ["*"]
memory_write = ["self.*", "shared.*"]
agent_message = ["*"]
shell = ["python *", "cargo *", "git *", "npm *"]
[autonomous]
max_iterations = 100
+2 -1
View File
@@ -1025,7 +1025,8 @@ fn read_token(env_var_or_token: &str, adapter_name: &str) -> Option<String> {
|| env_var_or_token.starts_with("xoxb-")
|| env_var_or_token.starts_with("xapp-")
|| env_var_or_token.starts_with("sk-")
|| env_var_or_token.starts_with("Bearer ");
|| env_var_or_token.starts_with("Bearer ")
|| env_var_or_token.len() > 80; // Long random strings are tokens, not env var names
if looks_like_token {
warn!(