Results 9 issues of poudro

Been having a strange issue with `fs.open` on various files. The code is basically ``` if not fs.exists(path_in_fs): return None try: with fs.open(path_in_fs, 'rb') as f:

fixes #70 By removing check to `client.head_object` in `getinfo` we were able to recover expected behavior where - open works when file exists - open fails with `fs.errors.ResourceNotFound` if file...

### The Problem There are a lot of areas around the world where it is close to impossible to obtain a proper partition of a country with available polygon data...

Using an index on the oplog is not very efficient and degrades performance when a big number of writes are being performed in a short amount of time. Mongo has...

Thanks for the fun repo :) This is pretty much cheating as this compiles down to C equivalent, but fun nonetheless ``` languages/loops/cython$ hyperfine -i --shell=none --runs 3 --warmup 2...

### What happened? When generating the response format in JSONAdapter, an exception is systematically triggered and thus, under the hood, the response_format parameter sent is always `{"type": "json_object"}` ### Steps...

bug

Resolves #8393 Cache key is computed only for incoming request, therefore any modifications made to request by external calls (eg to LiteLLM.completion) does not impact cache.

### What happened? When using JSONAdapter, the `additionalProperties: false` parameter is always added to pydantic schema (either [here](https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/json_adapter.py#L222) or [here](https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/json_adapter.py#L233-L260)). This is fine when calling OpenAI API, but LiteLLM removes...

bug

**Describe the bug** Since update to 0.42.0 I get this error message for all gemini models via openrouter: ``` Invalid prompt: The messages must be a ModelMessage[]. If you have...