8000 Integrate LiteLLM proxy and simplify configuration by ddkang1 · Pull Request #4 · ddkang1/smart-agent · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Integrate LiteLLM proxy and simplify configuration #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

ddkang1
Copy link
Owner
@ddkang1 ddkang1 commented Apr 2, 2025

Overview

This PR integrates the LiteLLM proxy for accessing Claude models and significantly simplifies the configuration management system.

Key Changes

LiteLLM Proxy Integration

  • Added conditional starting of the proxy based on base_url in config.yaml
  • Created a LiteLLM configuration file that syncs with Smart Agent settings
  • Added Docker Compose profile for the LiteLLM service

Simplified Configuration Management

  • Made config.yaml the single source of truth
  • Removed redundant command-line flags in favor of YAML configuration
  • Added proper error handling in setup-env.sh

Improved User Experience

  • Added a new 'smart-agent setup' command for initial configuration
  • Streamlined the Getting Started section in README.md
  • Created run.sh to replace run-docker.sh for Docker users

Restructured Tool Management

  • Simplified the CLI interface to rely solely on YAML config
  • Made tool enablement configuration-based rather than flag-based
  • Updated documentation to reflect the simplified approach

These changes maintain the YAML-based approach to configuration and tool management while making the system more accessible to new users.

@ddkang1 ddkang1 merged commit 1a39752 into main Apr 2, 2025
1 check passed
@ddkang1 ddkang1 deleted the feature/litellm-integration branch April 2, 2025 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0