mirror of
https://github.com/mims-harvard/ToolUniverse.git
synced 2026-09-19 07:31:47 +08:00
f43de12296
* update tools to have correct test examples and return schema
17 lines
427 B
Python
17 lines
427 B
Python
#!/usr/bin/env python3
|
|
"""Script that uses environment variables for testing python_script_runner."""
|
|
|
|
import os
|
|
|
|
def main():
|
|
debug = os.environ.get("DEBUG", "false")
|
|
log_level = os.environ.get("LOG_LEVEL", "info")
|
|
|
|
print(f"Configuration:")
|
|
print(f" DEBUG: {debug}")
|
|
print(f" LOG_LEVEL: {log_level}")
|
|
print("Script executed with environment configuration!")
|
|
|
|
if __name__ == "__main__":
|
|
main()
|