code-puppy 0.0.35__tar.gz → 0.0.36__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {code_puppy-0.0.35 → code_puppy-0.0.36}/PKG-INFO +1 -1
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/model_factory.py +4 -4
- {code_puppy-0.0.35 → code_puppy-0.0.36}/pyproject.toml +1 -1
- {code_puppy-0.0.35 → code_puppy-0.0.36}/.gitignore +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/LICENSE +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/README.md +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/__init__.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/agent.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/agent_prompts.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/command_line/__init__.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/command_line/file_path_completion.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/command_line/meta_command_handler.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/command_line/model_picker_completion.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/command_line/prompt_toolkit_completion.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/command_line/utils.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/config.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/main.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/models.json +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/session_memory.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/tools/__init__.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/tools/code_map.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/tools/command_runner.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/tools/common.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/tools/file_modifications.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/tools/file_operations.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/tools/web_search.py +0 -0
- {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/version_checker.py +0 -0
| @@ -139,11 +139,11 @@ def get_custom_config(model_config): | |
| 139 139 | 
             
                    ca_certs_path = custom_config.get("ca_certs_path")
         | 
| 140 140 |  | 
| 141 141 | 
             
                api_key = None
         | 
| 142 | 
            -
                if "api_key" in  | 
| 143 | 
            -
                    if  | 
| 144 | 
            -
                        api_key = os.environ.get( | 
| 142 | 
            +
                if "api_key" in custom_config:
         | 
| 143 | 
            +
                    if custom_config["api_key"].startswith("$"):
         | 
| 144 | 
            +
                        api_key = os.environ.get(custom_config["api_key"][1:])
         | 
| 145 145 | 
             
                    else:
         | 
| 146 | 
            -
                        api_key =  | 
| 146 | 
            +
                        api_key = custom_config["api_key"]
         | 
| 147 147 | 
             
                return url, headers, ca_certs_path, api_key
         | 
| 148 148 |  | 
| 149 149 |  | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
    
        {code_puppy-0.0.35 → code_puppy-0.0.36}/code_puppy/command_line/prompt_toolkit_completion.py
    RENAMED
    
    | 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         |