code-puppy 0.0.136__py3-none-any.whl → 0.0.138__py3-none-any.whl
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/config.py +4 -5
- {code_puppy-0.0.136.dist-info → code_puppy-0.0.138.dist-info}/METADATA +1 -1
- {code_puppy-0.0.136.dist-info → code_puppy-0.0.138.dist-info}/RECORD +7 -7
- {code_puppy-0.0.136.data → code_puppy-0.0.138.data}/data/code_puppy/models.json +0 -0
- {code_puppy-0.0.136.dist-info → code_puppy-0.0.138.dist-info}/WHEEL +0 -0
- {code_puppy-0.0.136.dist-info → code_puppy-0.0.138.dist-info}/entry_points.txt +0 -0
- {code_puppy-0.0.136.dist-info → code_puppy-0.0.138.dist-info}/licenses/LICENSE +0 -0
code_puppy/config.py
CHANGED
|
@@ -158,15 +158,14 @@ def _default_model_from_models_json():
|
|
|
158
158
|
# Local import to avoid potential circular dependency on module import
|
|
159
159
|
from code_puppy.model_factory import ModelFactory
|
|
160
160
|
|
|
161
|
-
|
|
162
|
-
models_config = ModelFactory.load_config(models_config_path)
|
|
161
|
+
models_config = ModelFactory.load_config()
|
|
163
162
|
first_key = next(iter(models_config)) # Raises StopIteration if empty
|
|
164
163
|
_default_model_cache = first_key
|
|
165
164
|
return first_key
|
|
166
|
-
except Exception:
|
|
165
|
+
except Exception as e:
|
|
167
166
|
# Any problem (network, file missing, empty dict, etc.) => fall back
|
|
168
|
-
_default_model_cache = "
|
|
169
|
-
return "
|
|
167
|
+
_default_model_cache = "gpt-5"
|
|
168
|
+
return "gpt-5"
|
|
170
169
|
|
|
171
170
|
|
|
172
171
|
def _validate_model_exists(model_name: str) -> bool:
|
|
@@ -2,7 +2,7 @@ code_puppy/__init__.py,sha256=ehbM1-wMjNmOXk_DBhhJECFyBv2dRHwwo7ucjHeM68E,107
|
|
|
2
2
|
code_puppy/__main__.py,sha256=pDVssJOWP8A83iFkxMLY9YteHYat0EyWDQqMkKHpWp4,203
|
|
3
3
|
code_puppy/agent.py,sha256=AIu0fg2VfRDXaf4gOmcqx5W06JRxSmfxGh8zFTrpts8,6914
|
|
4
4
|
code_puppy/callbacks.py,sha256=6wYB6K_fGSCkKKEFaYOYkJT45WaV5W_NhUIzcvVH_nU,5060
|
|
5
|
-
code_puppy/config.py,sha256=
|
|
5
|
+
code_puppy/config.py,sha256=9yWKHKjLJ2Ddl4frrBI9VRIwPvoWpIx1fAd1YpAvOSQ,15330
|
|
6
6
|
code_puppy/http_utils.py,sha256=BAvt4hed7fVMXglA7eS9gOb08h2YTuOyai6VmQq09fg,3432
|
|
7
7
|
code_puppy/main.py,sha256=Pm5h-s0MQIc7IsitwVmN3DsGqgeKpvI6qUxBnbgvpI4,25272
|
|
8
8
|
code_puppy/message_history_processor.py,sha256=O2rKp7W6YeIg93W8b0XySTUEQgIZm0f_06--_kzHugM,16145
|
|
@@ -123,9 +123,9 @@ code_puppy/tui/tests/test_sidebar_history_navigation.py,sha256=JGiyua8A2B8dLfwiE
|
|
|
123
123
|
code_puppy/tui/tests/test_status_bar.py,sha256=nYT_FZGdmqnnbn6o0ZuOkLtNUtJzLSmtX8P72liQ5Vo,1797
|
|
124
124
|
code_puppy/tui/tests/test_timestamped_history.py,sha256=nVXt9hExZZ_8MFP-AZj4L4bB_1Eo_mc-ZhVICzTuw3I,1799
|
|
125
125
|
code_puppy/tui/tests/test_tools.py,sha256=kgzzAkK4r0DPzQwHHD4cePpVNgrHor6cFr05Pg6DBWg,2687
|
|
126
|
-
code_puppy-0.0.
|
|
127
|
-
code_puppy-0.0.
|
|
128
|
-
code_puppy-0.0.
|
|
129
|
-
code_puppy-0.0.
|
|
130
|
-
code_puppy-0.0.
|
|
131
|
-
code_puppy-0.0.
|
|
126
|
+
code_puppy-0.0.138.data/data/code_puppy/models.json,sha256=GpvtWnBKERm6T7HCZJQUIVAS5256-tZ_bFuRtnKXEsY,3128
|
|
127
|
+
code_puppy-0.0.138.dist-info/METADATA,sha256=LMC8SIGp8Hihp-1vsOKB5F06Fu6y3X7ervzLu8Auqm4,19873
|
|
128
|
+
code_puppy-0.0.138.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
129
|
+
code_puppy-0.0.138.dist-info/entry_points.txt,sha256=d8YkBvIUxF-dHNJAj-x4fPEqizbY5d_TwvYpc01U5kw,58
|
|
130
|
+
code_puppy-0.0.138.dist-info/licenses/LICENSE,sha256=31u8x0SPgdOq3izJX41kgFazWsM43zPEF9eskzqbJMY,1075
|
|
131
|
+
code_puppy-0.0.138.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|