openfunctions-rs 0.1.0

A universal framework for creating and managing LLM tools and agents
Documentation
# OpenFunctions Configuration File
# This file configures the OpenFunctions framework for your project.

[project]
# The name of your OpenFunctions project
name = "my-openfunctions-project"

# The version of your project (follows semantic versioning)
version = "0.1.0"

# A brief description of your project
description = "My collection of AI tools and agents"

# The author(s) of the project
authors = ["Your Name <your.email@example.com>"]

# Directories where your tools are stored (relative to this config file)
tool_dirs = ["tools", "scripts"]

# Directories where your agents are stored (relative to this config file)
agent_dirs = ["agents"]

[runtime]
# Maximum execution timeout for tools (in seconds)
execution_timeout = 60

# Maximum memory usage for tool execution (in MB)
max_memory_mb = 512

# Whether to enable sandboxed execution (recommended for production)
enable_sandbox = false

# Environment variables to pass to all tools
[runtime.env]
# Example: API_KEY = "your-api-key-here"
# NODE_ENV = "development"

[ai]
# Configuration for AI/LLM integration (optional)
# Uncomment and configure if using OpenAI or other AI services

# OpenAI API configuration
# [ai.openai]
# api_key = "your-openai-api-key"
# model = "gpt-4"
# max_tokens = 2000
# temperature = 0.7

# Custom AI endpoint configuration
# [ai.custom]
# endpoint = "https://your-ai-endpoint.com/v1"
# api_key = "your-api-key"
# model = "your-model-name"

[logging]
# Log level: trace, debug, info, warn, error
level = "info"

# Log format: json, pretty, compact
format = "pretty"

# Whether to log to file
log_to_file = false

# Log file path (if log_to_file is true)
# log_file = "openfunctions.log"