nas
nas
## Summary `is_tool_schema()` (in `qwen_agent/tools/base.py`) required the `parameters` dict to have **exactly** the keys `{'type', 'properties', 'required'}`: ```python assert set(obj['parameters'].keys()) == {'type', 'properties', 'required'} ``` This rejects valid JSON Schema...
## Summary `BaseModelCompatibleDict.get()` (in `qwen_agent/llm/schema.py`) used a truthiness check instead of a `None` check: ```python def get(self, key, default=None): value = getattr(self, key, default) if value: #
### Summary In `browser-use-demo`, the "keep only N most recent screenshots" feature is dead code. `sampling_loop()` accepts `only_n_most_recent_images` and the helper `_maybe_filter_to_n_most_recent_images()` exists, but the helper is never called and...
## Problem `_remove_command` interpolates the user-supplied `command` directly into a regex `base_pattern`: ```python base_pattern = ( r'\\' + command + r'(?:\[(?:.*?)\])*\{((?:[^{}]+|\{(?1)\})*)\}(?:\[(?:.*?)\])*' ) ``` So a command name containing regex metacharacters...
## What does this PR do? Fixes #20388 `_ResultCollection.log` calls `_ResultMetric.to(value.device)` on every logged value on every step. `_ResultMetric.to` walks the metric's entire `__dict__` via `apply_to_collection` (deep-copying nested structures) regardless...
## Summary KTX textures crash the classic OpenGL renderer and the Python viewer with `Number of channels not supported: 1`: `mjCTexture::LoadKTX` stores the file as an opaque single-channel blob for...
## Problem In `msh2obj.py`, the texcoord-count validation in `Msh.create` spans two string literals, but only the first has an `f` prefix: ```python if vertex_texcoords.size != 2 * ntexcoord: raise ValueError(...
## Problem `rollout` rejects `nstep` and `chunk_size` arguments whose type is a numpy integer (e.g. `np.int64`): ```python if nstep and not isinstance(nstep, int): raise ValueError('nstep must be an integer') if...
# What does this PR do? Fixes #14008 ## The bug `DiffusionPipeline.from_pretrained` raises a spurious `ValueError` when loading any pipeline that was relocated under `diffusers.pipelines.deprecated` (for example Wuerstchen, moved in...
## Summary `sklearn_tuner` int-casts every discrete numeric hyper-parameter: ```python if space.paras[k].is_numeric and space.paras[k].is_discrete: hyp[k] = int(hyp[k]) ``` `BoolPara` reports **both** `is_numeric` and `is_discrete` as `True`, so a boolean hyper-parameter (e.g....