ommlds 0.0.0.dev479__tar.gz → 0.0.0.dev480__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.
- {ommlds-0.0.0.dev479/ommlds.egg-info → ommlds-0.0.0.dev480}/PKG-INFO +5 -5
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/.omlish-manifests.json +22 -5
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/__about__.py +1 -1
- ommlds-0.0.0.dev480/ommlds/backends/tavily/protocol.py +301 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/__init__.py +1 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/anthropic/chat.py +23 -4
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/openai/format.py +2 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/openai/names.py +3 -1
- ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/tavily.py +66 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/llms/types.py +4 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/search.py +1 -1
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/standard.py +1 -0
- ommlds-0.0.0.dev480/ommlds/specs/mcp/_marshal.py +23 -0
- ommlds-0.0.0.dev480/ommlds/specs/mcp/protocol.py +266 -0
- ommlds-0.0.0.dev480/ommlds/wiki/__init__.py +0 -0
- ommlds-0.0.0.dev480/ommlds/wiki/text/__init__.py +0 -0
- ommlds-0.0.0.dev480/ommlds/wiki/utils/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480/ommlds.egg-info}/PKG-INFO +5 -5
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds.egg-info/SOURCES.txt +7 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds.egg-info/requires.txt +4 -4
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/pyproject.toml +5 -5
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/LICENSE +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/MANIFEST.in +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/README.md +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/_hacks/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/_hacks/funcs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/_hacks/names.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/_hacks/params.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/_hacks/patches.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/anthropic/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/anthropic/protocol/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/anthropic/protocol/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/anthropic/protocol/sse/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/anthropic/protocol/sse/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/anthropic/protocol/sse/assemble.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/anthropic/protocol/sse/events.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/anthropic/protocol/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/google/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/google/protocol/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/google/protocol/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/google/protocol/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/groq/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/groq/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/groq/protocol.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/huggingface.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/llamacpp/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/llamacpp/buildwheel.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/llamacpp/logging.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/__main__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/caching.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/cli.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/generation.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/limits.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/loading.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/tokenization/LICENSE +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/tokenization/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/tokenization/detokenization/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/tokenization/detokenization/base.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/tokenization/detokenization/bpe.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/tokenization/detokenization/naive.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/tokenization/detokenization/spm.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/tokenization/loading.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/tokenization/tokenization.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/mlx/tokenization/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/ollama/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/ollama/protocol.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/_common.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/chatcompletion/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/chatcompletion/chunk.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/chatcompletion/contentpart.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/chatcompletion/message.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/chatcompletion/request.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/chatcompletion/response.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/chatcompletion/responseformat.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/chatcompletion/tokenlogprob.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/openai/protocol/completionusage.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/backends/tinygrad → ommlds-0.0.0.dev480/ommlds/backends/tavily}/__init__.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/backends/tinygrad/models → ommlds-0.0.0.dev480/ommlds/backends/tinygrad}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/LICENSE +0 -0
- {ommlds-0.0.0.dev479/ommlds/backends/transformers → ommlds-0.0.0.dev480/ommlds/backends/tinygrad/models}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/__main__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/attention.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/cli.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/fetch.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/llm.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/loading.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/quantization.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/sampling.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/tokenization.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/llama3/transformer.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/sdxl/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/sdxl/__main__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/sdxl/cli.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/sdxl/clip.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/sdxl/sdxl.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/models/sdxl/unet.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/tinygrad/tinygrad.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/torch/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/torch/backends.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/torch/devices.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/torch/purge.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli → ommlds-0.0.0.dev480/ommlds/backends/transformers}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/transformers/filecache.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/backends/transformers/streamers.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/backends → ommlds-0.0.0.dev480/ommlds/cli}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/__main__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/asyncs.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/content → ommlds-0.0.0.dev480/ommlds/cli/backends}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/backends/catalog.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/backends/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/backends/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/backends/injection.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/backends/types.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/inputs → ommlds-0.0.0.dev480/ommlds/cli/content}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/content/messages.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/content/strings.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/inject.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/rendering → ommlds-0.0.0.dev480/ommlds/cli/inputs}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/inputs/asyncs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/inputs/sync.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/main.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions → ommlds-0.0.0.dev480/ommlds/cli/rendering}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/rendering/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/rendering/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/rendering/markdown.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/rendering/raw.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/rendering/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/secrets.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/chat → ommlds-0.0.0.dev480/ommlds/cli/sessions}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/base.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/chat → ommlds-0.0.0.dev480/ommlds/cli/sessions}/chat/__init__.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/chat/chat/ai → ommlds-0.0.0.dev480/ommlds/cli/sessions/chat/chat}/__init__.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/chat/chat/state → ommlds-0.0.0.dev480/ommlds/cli/sessions/chat/chat/ai}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/ai/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/ai/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/ai/injection.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/ai/rendering.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/ai/services.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/ai/tools.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/ai/types.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/chat/chat/user → ommlds-0.0.0.dev480/ommlds/cli/sessions/chat/chat/state}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/state/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/state/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/state/inmemory.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/state/storage.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/state/types.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/chat/phases → ommlds-0.0.0.dev480/ommlds/cli/sessions/chat/chat/user}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/user/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/user/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/user/interactive.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/user/oneshot.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/chat/user/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/driver.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/inject.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/chat/tools → ommlds-0.0.0.dev480/ommlds/cli/sessions/chat/phases}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/phases/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/phases/injection.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/phases/manager.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/phases/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/session.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/chat/tools/fs → ommlds-0.0.0.dev480/ommlds/cli/sessions/chat/tools}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/confirmation.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/execution.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/chat/tools/todo → ommlds-0.0.0.dev480/ommlds/cli/sessions/chat/tools/fs}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/fs/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/fs/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/injection.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/rendering.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/chat/tools/weather → ommlds-0.0.0.dev480/ommlds/cli/sessions/chat/tools/todo}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/todo/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/todo/inject.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/completion → ommlds-0.0.0.dev480/ommlds/cli/sessions/chat/tools/weather}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/weather/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/weather/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/chat/tools/weather/tools.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/sessions/embedding → ommlds-0.0.0.dev480/ommlds/cli/sessions/completion}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/completion/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/completion/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/completion/session.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/cli/state → ommlds-0.0.0.dev480/ommlds/cli/sessions/embedding}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/embedding/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/embedding/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/embedding/session.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/sessions/inject.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/datasets → ommlds-0.0.0.dev480/ommlds/cli/state}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/state/inject.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/cli/state/storage.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/datasets/lib → ommlds-0.0.0.dev480/ommlds/datasets}/__init__.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends → ommlds-0.0.0.dev480/ommlds/datasets/lib}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/datasets/lib/movies.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/_typedvalues.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/catalogs → ommlds-0.0.0.dev480/ommlds/minichain/backends}/__init__.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls → ommlds-0.0.0.dev480/ommlds/minichain/backends/catalogs}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/catalogs/base.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/catalogs/simple.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/catalogs/strings.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/anthropic → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls}/__init__.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/duckduckgo → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/anthropic}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/anthropic/names.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/anthropic/protocol.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/anthropic/stream.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/dummy → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/duckduckgo}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/duckduckgo/search.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/google → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/dummy}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/dummy/chat.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/groq → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/google}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/google/chat.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/google/names.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/google/search.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/google/stream.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/google/tools.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/huggingface → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/groq}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/groq/chat.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/groq/names.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/groq/protocol.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/groq/stream.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/llamacpp → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/huggingface}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/huggingface/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/huggingface/repos.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/mlx → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/llamacpp}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/llamacpp/chat.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/llamacpp/completion.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/llamacpp/format.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/llamacpp/stream.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/mistral.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/ollama → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/mlx}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/mlx/chat.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/openai → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/ollama}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/ollama/chat.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/sentencepiece → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/openai}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/openai/chat.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/openai/completion.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/openai/embedding.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/openai/stream.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/tinygrad → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/sentencepiece}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/sentencepiece/tokens.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/sqlite.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/tokenizers → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/tinygrad}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/tinygrad/chat.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/impls/transformers → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/tokenizers}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/tokenizers/tokens.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/backends/strings → ommlds-0.0.0.dev480/ommlds/minichain/backends/impls/transformers}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/transformers/sentence.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/transformers/tokens.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/transformers/transformers.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/chat → ommlds-0.0.0.dev480/ommlds/minichain/backends/strings}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/strings/manifests.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/strings/parsing.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/strings/resolving.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/chat/choices → ommlds-0.0.0.dev480/ommlds/minichain/chat}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/_marshal.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/chat/choices/stream → ommlds-0.0.0.dev480/ommlds/minichain/chat/choices}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/choices/adapters.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/choices/services.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/chat → ommlds-0.0.0.dev480/ommlds/minichain/chat/choices}/stream/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/choices/stream/adapters.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/choices/stream/joining.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/choices/stream/services.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/choices/stream/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/choices/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/formats.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/history.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/messages.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/metadata.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/services.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/chat/tools → ommlds-0.0.0.dev480/ommlds/minichain/chat/stream}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/stream/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/stream/joining.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/stream/services.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/stream/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/templating.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/chat/transforms → ommlds-0.0.0.dev480/ommlds/minichain/chat/tools}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/tools/execution.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/tools/ids.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/tools/parsing.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/tools/types.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/content → ommlds-0.0.0.dev480/ommlds/minichain/chat}/transforms/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/transforms/base.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/transforms/metadata.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/transforms/services.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/chat/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/completion.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/images.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/json.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/materialize.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/metadata.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/namespaces.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/placeholders.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/prepare.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/sequence.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/simple.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/text.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/lib → ommlds-0.0.0.dev480/ommlds/minichain/content/transforms}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/transforms/base.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/transforms/interleave.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/transforms/squeeze.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/transforms/stringify.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/transforms/strings.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/content/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/docs/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/docs/docs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/docs/dtypes.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/docs/filters.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/envs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/json.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/lib/code → ommlds-0.0.0.dev480/ommlds/minichain/lib}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/bash.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/lib/fs → ommlds-0.0.0.dev480/ommlds/minichain/lib/code}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/code/prompts.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/lib/fs/tools → ommlds-0.0.0.dev480/ommlds/minichain/lib/fs}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/fs/binfiles.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/fs/context.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/fs/errors.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/fs/suggestions.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/lib/fs/tools/recursivels → ommlds-0.0.0.dev480/ommlds/minichain/lib/fs/tools}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/fs/tools/edit.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/fs/tools/ls.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/fs/tools/read.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/lib/todo → ommlds-0.0.0.dev480/ommlds/minichain/lib/fs/tools/recursivels}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/fs/tools/recursivels/execution.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/fs/tools/recursivels/rendering.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/fs/tools/recursivels/running.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/lib/todo/tools → ommlds-0.0.0.dev480/ommlds/minichain/lib/todo}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/todo/context.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/llms → ommlds-0.0.0.dev480/ommlds/minichain/lib/todo/tools}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/todo/tools/read.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/todo/tools/write.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/lib/todo/types.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/models → ommlds-0.0.0.dev480/ommlds/minichain/llms}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/llms/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/llms/tokens.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/metadata.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/models/repos → ommlds-0.0.0.dev480/ommlds/minichain/models}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/models/configs.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/models/names.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/registries → ommlds-0.0.0.dev480/ommlds/minichain/models/repos}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/models/repos/resolving.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/stream → ommlds-0.0.0.dev480/ommlds/minichain/registries}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/registries/globals.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/registries/manifests.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/registries/registry.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/resources.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/services/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/services/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/services/_origclasses.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/services/_typedvalues.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/services/facades.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/services/requests.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/services/responses.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/services/services.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/text → ommlds-0.0.0.dev480/ommlds/minichain/stream}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/stream/services.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/stream/wrap.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/text/toolparsing → ommlds-0.0.0.dev480/ommlds/minichain/text}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/text/applypatch.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/tools → ommlds-0.0.0.dev480/ommlds/minichain/text/toolparsing}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/text/toolparsing/base.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/text/toolparsing/dumb.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/text/toolparsing/llamacpp/LICENSE +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/text/toolparsing/llamacpp/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/text/toolparsing/llamacpp/hermes2.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/text/toolparsing/llamacpp/llama31.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/text/toolparsing/llamacpp/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/text/toolparsing/llamacpp/utils.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tokens/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tokens/specials.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tokens/tokenizers.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tokens/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tokens/vocabs.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/tools/execution → ommlds-0.0.0.dev480/ommlds/minichain/tools}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tools/_marshal.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/minichain/vectors → ommlds-0.0.0.dev480/ommlds/minichain/tools/execution}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tools/execution/catalog.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tools/execution/context.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tools/execution/errors.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tools/execution/executors.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tools/execution/reflect.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tools/fns.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tools/jsonschema.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tools/reflect.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/tools/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/utils.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/nanochat → ommlds-0.0.0.dev480/ommlds/minichain/vectors}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/vectors/_marshal.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/vectors/embeddings.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/vectors/index.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/vectors/search.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/vectors/similarity.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/vectors/stores.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/vectors/types.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/nanochat/LICENSE +0 -0
- {ommlds-0.0.0.dev479/ommlds/server → ommlds-0.0.0.dev480/ommlds/nanochat}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/nanochat/rustbpe/LICENSE +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/nanochat/tokenizers.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/tools → ommlds-0.0.0.dev480/ommlds/server}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/server/__main__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/server/cli.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/server/client.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/server/server.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/server/service.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/wiki → ommlds-0.0.0.dev480/ommlds/specs}/__init__.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/wiki/text → ommlds-0.0.0.dev480/ommlds/specs/mcp}/__init__.py +0 -0
- {ommlds-0.0.0.dev479/ommlds/wiki/utils → ommlds-0.0.0.dev480/ommlds/tools}/__init__.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/tools/git.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/tools/ocr.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/wiki/analyze.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/wiki/convert.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/wiki/models.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/wiki/text/mfh.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/wiki/text/wtp.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/wiki/utils/io.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/wiki/utils/progress.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/wiki/utils/xml.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/wiki/xml.py +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds.egg-info/dependency_links.txt +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds.egg-info/entry_points.txt +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds.egg-info/top_level.txt +0 -0
- {ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ommlds
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev480
|
|
4
4
|
Summary: ommlds
|
|
5
5
|
Author: wrmsr
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -14,11 +14,11 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
14
14
|
Requires-Python: >=3.13
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: omdev==0.0.0.
|
|
18
|
-
Requires-Dist: omlish==0.0.0.
|
|
17
|
+
Requires-Dist: omdev==0.0.0.dev480
|
|
18
|
+
Requires-Dist: omlish==0.0.0.dev480
|
|
19
19
|
Provides-Extra: all
|
|
20
20
|
Requires-Dist: llama-cpp-python~=0.3; extra == "all"
|
|
21
|
-
Requires-Dist: mlx~=0.
|
|
21
|
+
Requires-Dist: mlx~=0.30; sys_platform == "darwin" and extra == "all"
|
|
22
22
|
Requires-Dist: mlx-lm~=0.28; sys_platform == "darwin" and extra == "all"
|
|
23
23
|
Requires-Dist: tiktoken~=0.12; extra == "all"
|
|
24
24
|
Requires-Dist: tinygrad~=0.11; extra == "all"
|
|
@@ -39,7 +39,7 @@ Requires-Dist: wikitextparser~=0.56; extra == "all"
|
|
|
39
39
|
Requires-Dist: lxml>=5.3; python_version < "3.13" and extra == "all"
|
|
40
40
|
Provides-Extra: backends
|
|
41
41
|
Requires-Dist: llama-cpp-python~=0.3; extra == "backends"
|
|
42
|
-
Requires-Dist: mlx~=0.
|
|
42
|
+
Requires-Dist: mlx~=0.30; sys_platform == "darwin" and extra == "backends"
|
|
43
43
|
Requires-Dist: mlx-lm~=0.28; sys_platform == "darwin" and extra == "backends"
|
|
44
44
|
Requires-Dist: tiktoken~=0.12; extra == "backends"
|
|
45
45
|
Requires-Dist: tinygrad~=0.11; extra == "backends"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"module": ".minichain.backends.impls.anthropic.chat",
|
|
19
19
|
"attr": null,
|
|
20
20
|
"file": "ommlds/minichain/backends/impls/anthropic/chat.py",
|
|
21
|
-
"line":
|
|
21
|
+
"line": 42,
|
|
22
22
|
"value": {
|
|
23
23
|
"!.minichain.registries.manifests.RegistryManifest": {
|
|
24
24
|
"module": "ommlds.minichain.backends.impls.anthropic.chat",
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
"module": ".minichain.backends.impls.openai.names",
|
|
497
497
|
"attr": "_CHAT_BACKEND_STRINGS_MANIFEST",
|
|
498
498
|
"file": "ommlds/minichain/backends/impls/openai/names.py",
|
|
499
|
-
"line":
|
|
499
|
+
"line": 65,
|
|
500
500
|
"value": {
|
|
501
501
|
"!.minichain.backends.strings.manifests.BackendStringsManifest": {
|
|
502
502
|
"service_cls_names": [
|
|
@@ -520,6 +520,7 @@
|
|
|
520
520
|
"gpt-5-chat-latest": null,
|
|
521
521
|
"gpt-5-mini": null,
|
|
522
522
|
"gpt-5-nano": null,
|
|
523
|
+
"gpt-5.1": null,
|
|
523
524
|
"gpt3.5-turbo": "gpt-3.5-turbo",
|
|
524
525
|
"gpt3.5-turbo-instruct": "gpt-3.5-turbo-instruct",
|
|
525
526
|
"gpt4": "gpt-4",
|
|
@@ -533,7 +534,8 @@
|
|
|
533
534
|
"gpt5-chat-latest": "gpt-5-chat-latest",
|
|
534
535
|
"gpt5-mini": "gpt-5-mini",
|
|
535
536
|
"gpt5-nano": "gpt-5-nano",
|
|
536
|
-
"
|
|
537
|
+
"gpt5.1": "gpt-5.1",
|
|
538
|
+
"gpt": "gpt-5.1",
|
|
537
539
|
"gpt-mini": "gpt-5-mini",
|
|
538
540
|
"o3": null,
|
|
539
541
|
"o3-mini": null,
|
|
@@ -548,7 +550,7 @@
|
|
|
548
550
|
"module": ".minichain.backends.impls.openai.names",
|
|
549
551
|
"attr": "_COMPLETION_BACKEND_STRINGS_MANIFEST",
|
|
550
552
|
"file": "ommlds/minichain/backends/impls/openai/names.py",
|
|
551
|
-
"line":
|
|
553
|
+
"line": 79,
|
|
552
554
|
"value": {
|
|
553
555
|
"!.minichain.backends.strings.manifests.BackendStringsManifest": {
|
|
554
556
|
"service_cls_names": [
|
|
@@ -563,7 +565,7 @@
|
|
|
563
565
|
"module": ".minichain.backends.impls.openai.names",
|
|
564
566
|
"attr": "_EMBEDDING_BACKEND_STRINGS_MANIFEST",
|
|
565
567
|
"file": "ommlds/minichain/backends/impls/openai/names.py",
|
|
566
|
-
"line":
|
|
568
|
+
"line": 91,
|
|
567
569
|
"value": {
|
|
568
570
|
"!.minichain.backends.strings.manifests.BackendStringsManifest": {
|
|
569
571
|
"service_cls_names": [
|
|
@@ -589,6 +591,21 @@
|
|
|
589
591
|
}
|
|
590
592
|
}
|
|
591
593
|
},
|
|
594
|
+
{
|
|
595
|
+
"module": ".minichain.backends.impls.tavily",
|
|
596
|
+
"attr": null,
|
|
597
|
+
"file": "ommlds/minichain/backends/impls/tavily.py",
|
|
598
|
+
"line": 19,
|
|
599
|
+
"value": {
|
|
600
|
+
"!.minichain.registries.manifests.RegistryManifest": {
|
|
601
|
+
"module": "ommlds.minichain.backends.impls.tavily",
|
|
602
|
+
"attr": "TavilySearchService",
|
|
603
|
+
"name": "tavily",
|
|
604
|
+
"aliases": null,
|
|
605
|
+
"type": "SearchService"
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
},
|
|
592
609
|
{
|
|
593
610
|
"module": ".minichain.backends.impls.tinygrad.chat",
|
|
594
611
|
"attr": null,
|
|
@@ -18,7 +18,7 @@ class Project(ProjectBase):
|
|
|
18
18
|
|
|
19
19
|
'llama-cpp-python ~= 0.3',
|
|
20
20
|
|
|
21
|
-
'mlx ~= 0.
|
|
21
|
+
'mlx ~= 0.30; sys_platform == "darwin"',
|
|
22
22
|
'mlx-lm ~= 0.28; sys_platform == "darwin"',
|
|
23
23
|
|
|
24
24
|
# 'sentencepiece ~= 0.2', # FIXME: https://github.com/google/sentencepiece/issues/1121
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
"""
|
|
2
|
+
https://docs.tavily.com/documentation/api-reference/endpoint/search
|
|
3
|
+
"""
|
|
4
|
+
import typing as ta
|
|
5
|
+
|
|
6
|
+
from omlish import dataclasses as dc
|
|
7
|
+
from omlish import lang
|
|
8
|
+
from omlish import marshal as msh
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
##
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _set_class_marshal_options(cls):
|
|
15
|
+
msh.update_object_metadata(
|
|
16
|
+
cls,
|
|
17
|
+
field_defaults=msh.FieldMetadata(
|
|
18
|
+
options=msh.FieldOptions(
|
|
19
|
+
omit_if=lang.is_none,
|
|
20
|
+
),
|
|
21
|
+
),
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
return cls
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
##
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
KNOWN_COUNTRIES = frozenset([
|
|
31
|
+
'afghanistan',
|
|
32
|
+
'albania',
|
|
33
|
+
'algeria',
|
|
34
|
+
'andorra',
|
|
35
|
+
'angola',
|
|
36
|
+
'argentina',
|
|
37
|
+
'armenia',
|
|
38
|
+
'australia',
|
|
39
|
+
'austria',
|
|
40
|
+
'azerbaijan',
|
|
41
|
+
'bahamas',
|
|
42
|
+
'bahrain',
|
|
43
|
+
'bangladesh',
|
|
44
|
+
'barbados',
|
|
45
|
+
'belarus',
|
|
46
|
+
'belgium',
|
|
47
|
+
'belize',
|
|
48
|
+
'benin',
|
|
49
|
+
'bhutan',
|
|
50
|
+
'bolivia',
|
|
51
|
+
'bosnia and herzegovina',
|
|
52
|
+
'botswana',
|
|
53
|
+
'brazil',
|
|
54
|
+
'brunei',
|
|
55
|
+
'bulgaria',
|
|
56
|
+
'burkina faso',
|
|
57
|
+
'burundi',
|
|
58
|
+
'cambodia',
|
|
59
|
+
'cameroon',
|
|
60
|
+
'canada',
|
|
61
|
+
'cape verde',
|
|
62
|
+
'central african republic',
|
|
63
|
+
'chad',
|
|
64
|
+
'chile',
|
|
65
|
+
'china',
|
|
66
|
+
'colombia',
|
|
67
|
+
'comoros',
|
|
68
|
+
'congo',
|
|
69
|
+
'costa rica',
|
|
70
|
+
'croatia',
|
|
71
|
+
'cuba',
|
|
72
|
+
'cyprus',
|
|
73
|
+
'czech republic',
|
|
74
|
+
'denmark',
|
|
75
|
+
'djibouti',
|
|
76
|
+
'dominican republic',
|
|
77
|
+
'ecuador',
|
|
78
|
+
'egypt',
|
|
79
|
+
'el salvador',
|
|
80
|
+
'equatorial guinea',
|
|
81
|
+
'eritrea',
|
|
82
|
+
'estonia',
|
|
83
|
+
'ethiopia',
|
|
84
|
+
'fiji',
|
|
85
|
+
'finland',
|
|
86
|
+
'france',
|
|
87
|
+
'gabon',
|
|
88
|
+
'gambia',
|
|
89
|
+
'georgia',
|
|
90
|
+
'germany',
|
|
91
|
+
'ghana',
|
|
92
|
+
'greece',
|
|
93
|
+
'guatemala',
|
|
94
|
+
'guinea',
|
|
95
|
+
'haiti',
|
|
96
|
+
'honduras',
|
|
97
|
+
'hungary',
|
|
98
|
+
'iceland',
|
|
99
|
+
'india',
|
|
100
|
+
'indonesia',
|
|
101
|
+
'iran',
|
|
102
|
+
'iraq',
|
|
103
|
+
'ireland',
|
|
104
|
+
'israel',
|
|
105
|
+
'italy',
|
|
106
|
+
'jamaica',
|
|
107
|
+
'japan',
|
|
108
|
+
'jordan',
|
|
109
|
+
'kazakhstan',
|
|
110
|
+
'kenya',
|
|
111
|
+
'kuwait',
|
|
112
|
+
'kyrgyzstan',
|
|
113
|
+
'latvia',
|
|
114
|
+
'lebanon',
|
|
115
|
+
'lesotho',
|
|
116
|
+
'liberia',
|
|
117
|
+
'libya',
|
|
118
|
+
'liechtenstein',
|
|
119
|
+
'lithuania',
|
|
120
|
+
'luxembourg',
|
|
121
|
+
'madagascar',
|
|
122
|
+
'malawi',
|
|
123
|
+
'malaysia',
|
|
124
|
+
'maldives',
|
|
125
|
+
'mali',
|
|
126
|
+
'malta',
|
|
127
|
+
'mauritania',
|
|
128
|
+
'mauritius',
|
|
129
|
+
'mexico',
|
|
130
|
+
'moldova',
|
|
131
|
+
'monaco',
|
|
132
|
+
'mongolia',
|
|
133
|
+
'montenegro',
|
|
134
|
+
'morocco',
|
|
135
|
+
'mozambique',
|
|
136
|
+
'myanmar',
|
|
137
|
+
'namibia',
|
|
138
|
+
'nepal',
|
|
139
|
+
'netherlands',
|
|
140
|
+
'new zealand',
|
|
141
|
+
'nicaragua',
|
|
142
|
+
'niger',
|
|
143
|
+
'nigeria',
|
|
144
|
+
'north korea',
|
|
145
|
+
'north macedonia',
|
|
146
|
+
'norway',
|
|
147
|
+
'oman',
|
|
148
|
+
'pakistan',
|
|
149
|
+
'panama',
|
|
150
|
+
'papua new guinea',
|
|
151
|
+
'paraguay',
|
|
152
|
+
'peru',
|
|
153
|
+
'philippines',
|
|
154
|
+
'poland',
|
|
155
|
+
'portugal',
|
|
156
|
+
'qatar',
|
|
157
|
+
'romania',
|
|
158
|
+
'russia',
|
|
159
|
+
'rwanda',
|
|
160
|
+
'saudi arabia',
|
|
161
|
+
'senegal',
|
|
162
|
+
'serbia',
|
|
163
|
+
'singapore',
|
|
164
|
+
'slovakia',
|
|
165
|
+
'slovenia',
|
|
166
|
+
'somalia',
|
|
167
|
+
'south africa',
|
|
168
|
+
'south korea',
|
|
169
|
+
'south sudan',
|
|
170
|
+
'spain',
|
|
171
|
+
'sri lanka',
|
|
172
|
+
'sudan',
|
|
173
|
+
'sweden',
|
|
174
|
+
'switzerland',
|
|
175
|
+
'syria',
|
|
176
|
+
'taiwan',
|
|
177
|
+
'tajikistan',
|
|
178
|
+
'tanzania',
|
|
179
|
+
'thailand',
|
|
180
|
+
'togo',
|
|
181
|
+
'trinidad and tobago',
|
|
182
|
+
'tunisia',
|
|
183
|
+
'turkey',
|
|
184
|
+
'turkmenistan',
|
|
185
|
+
'uganda',
|
|
186
|
+
'ukraine',
|
|
187
|
+
'united arab emirates',
|
|
188
|
+
'united kingdom',
|
|
189
|
+
'united states',
|
|
190
|
+
'uruguay',
|
|
191
|
+
'uzbekistan',
|
|
192
|
+
'venezuela',
|
|
193
|
+
'vietnam',
|
|
194
|
+
'yemen',
|
|
195
|
+
'zambia',
|
|
196
|
+
'zimbabwe',
|
|
197
|
+
])
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
##
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
@dc.dataclass(frozen=True, kw_only=True)
|
|
204
|
+
@_set_class_marshal_options
|
|
205
|
+
class SearchRequest:
|
|
206
|
+
query: str
|
|
207
|
+
|
|
208
|
+
# optional
|
|
209
|
+
auto_parameters: bool | None = None
|
|
210
|
+
|
|
211
|
+
topic: ta.Literal['general', 'news', 'finance'] | None = None
|
|
212
|
+
search_depth: ta.Literal['basic', 'advanced'] | None = None
|
|
213
|
+
|
|
214
|
+
chunks_per_source: int | None = None
|
|
215
|
+
max_results: int | None = None
|
|
216
|
+
|
|
217
|
+
time_range: ta.Literal['day', 'week', 'month', 'year', 'd', 'w', 'm', 'y'] | None = None
|
|
218
|
+
start_date: str | None = None # YYYY-MM-DD
|
|
219
|
+
end_date: str | None = None # YYYY-MM-DD
|
|
220
|
+
|
|
221
|
+
# Booleans with extra enum-like modes per docs
|
|
222
|
+
include_answer: bool | ta.Literal['basic', 'advanced'] | None = None
|
|
223
|
+
include_raw_content: bool | ta.Literal['markdown', 'text'] | None = None
|
|
224
|
+
|
|
225
|
+
include_images: bool | None = None
|
|
226
|
+
include_image_descriptions: bool | None = None
|
|
227
|
+
include_favicon: bool | None = None
|
|
228
|
+
|
|
229
|
+
include_domains: ta.Sequence[str] | None = None
|
|
230
|
+
exclude_domains: ta.Sequence[str] | None = None
|
|
231
|
+
|
|
232
|
+
country: str | None = None
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
@dc.dataclass(frozen=True, kw_only=True)
|
|
236
|
+
@_set_class_marshal_options
|
|
237
|
+
class SearchResponse:
|
|
238
|
+
query: str
|
|
239
|
+
answer: str
|
|
240
|
+
|
|
241
|
+
@dc.dataclass(frozen=True, kw_only=True)
|
|
242
|
+
@_set_class_marshal_options
|
|
243
|
+
class Image:
|
|
244
|
+
url: str | None = None
|
|
245
|
+
description: str | None = None
|
|
246
|
+
|
|
247
|
+
images: ta.Sequence[Image] | None = None
|
|
248
|
+
|
|
249
|
+
@dc.dataclass(frozen=True, kw_only=True)
|
|
250
|
+
@_set_class_marshal_options
|
|
251
|
+
class Result:
|
|
252
|
+
title: str | None = None
|
|
253
|
+
url: str | None = None
|
|
254
|
+
content: str | None = None
|
|
255
|
+
score: float | None = None
|
|
256
|
+
raw_content: str | None = None
|
|
257
|
+
favicon: str | None = None
|
|
258
|
+
|
|
259
|
+
results: ta.Sequence[Result] | None = None
|
|
260
|
+
|
|
261
|
+
follow_up_questions: ta.Sequence[str] | None = None
|
|
262
|
+
|
|
263
|
+
auto_parameters: ta.Mapping[str, ta.Any] | None = None
|
|
264
|
+
|
|
265
|
+
response_time: str | None = None # seconds
|
|
266
|
+
request_id: str | None = None
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
##
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
@dc.dataclass(frozen=True, kw_only=True)
|
|
273
|
+
class ExtractRequest:
|
|
274
|
+
urls: str | ta.Sequence[str]
|
|
275
|
+
include_images: bool | None = None
|
|
276
|
+
include_favicon: bool | None = None
|
|
277
|
+
extract_depth: ta.Literal['basic', 'advanced'] | None = None
|
|
278
|
+
format: ta.Literal['markdown', 'text'] | None = None
|
|
279
|
+
timeout: str | None = None # seconds
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
@dc.dataclass(frozen=True, kw_only=True)
|
|
283
|
+
class ExtractResponse:
|
|
284
|
+
@dc.dataclass(frozen=True, kw_only=True)
|
|
285
|
+
class Result:
|
|
286
|
+
url: str
|
|
287
|
+
raw_content: str
|
|
288
|
+
images: ta.Sequence[str] | None = None
|
|
289
|
+
favicon: str | None = None
|
|
290
|
+
|
|
291
|
+
results: ta.Sequence[Result]
|
|
292
|
+
|
|
293
|
+
@dc.dataclass(frozen=True, kw_only=True)
|
|
294
|
+
class FailedResult:
|
|
295
|
+
url: str
|
|
296
|
+
error: str
|
|
297
|
+
|
|
298
|
+
failed_results: ta.Sequence[FailedResult] | None = None
|
|
299
|
+
|
|
300
|
+
response_time: str | None = None
|
|
301
|
+
request_id: str | None = None
|
{ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/anthropic/chat.py
RENAMED
|
@@ -17,6 +17,7 @@ from ....chat.choices.services import ChatChoicesRequest
|
|
|
17
17
|
from ....chat.choices.services import ChatChoicesResponse
|
|
18
18
|
from ....chat.choices.services import static_check_is_chat_choices_service
|
|
19
19
|
from ....chat.choices.types import AiChoice
|
|
20
|
+
from ....chat.choices.types import ChatChoicesOptions
|
|
20
21
|
from ....chat.messages import AiMessage
|
|
21
22
|
from ....chat.messages import AnyAiMessage
|
|
22
23
|
from ....chat.messages import Message
|
|
@@ -24,9 +25,12 @@ from ....chat.messages import SystemMessage
|
|
|
24
25
|
from ....chat.messages import ToolUseMessage
|
|
25
26
|
from ....chat.messages import UserMessage
|
|
26
27
|
from ....chat.tools.types import Tool
|
|
28
|
+
from ....llms.types import MaxTokens
|
|
29
|
+
from ....llms.types import Temperature
|
|
27
30
|
from ....models.configs import ModelName
|
|
28
31
|
from ....standard import ApiKey
|
|
29
32
|
from ....tools.types import ToolUse
|
|
33
|
+
from ....types import Option
|
|
30
34
|
from .names import MODEL_NAMES
|
|
31
35
|
from .protocol import build_protocol_chat_messages
|
|
32
36
|
from .protocol import build_protocol_tool
|
|
@@ -67,16 +71,31 @@ class AnthropicChatChoicesService:
|
|
|
67
71
|
else:
|
|
68
72
|
raise TypeError(m)
|
|
69
73
|
|
|
74
|
+
DEFAULT_OPTIONS: ta.ClassVar[tv.TypedValues[Option]] = tv.TypedValues[Option](
|
|
75
|
+
MaxTokens(4096),
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
_OPTION_KWARG_NAMES_MAP: ta.ClassVar[ta.Mapping[str, type[ChatChoicesOptions]]] = dict(
|
|
79
|
+
temperature=Temperature,
|
|
80
|
+
max_tokens=MaxTokens,
|
|
81
|
+
)
|
|
82
|
+
|
|
70
83
|
async def invoke(
|
|
71
84
|
self,
|
|
72
85
|
request: ChatChoicesRequest,
|
|
73
|
-
*,
|
|
74
|
-
max_tokens: int = 4096, # FIXME: ChatOption
|
|
75
86
|
) -> ChatChoicesResponse:
|
|
76
87
|
messages, system = build_protocol_chat_messages(request.v)
|
|
77
88
|
|
|
89
|
+
kwargs: dict = dict()
|
|
90
|
+
|
|
78
91
|
tools: list[pt.ToolSpec] = []
|
|
79
|
-
with tv.TypedValues(
|
|
92
|
+
with tv.TypedValues(
|
|
93
|
+
*self.DEFAULT_OPTIONS,
|
|
94
|
+
*request.options,
|
|
95
|
+
override=True,
|
|
96
|
+
).consume() as oc:
|
|
97
|
+
kwargs.update(oc.pop_scalar_kwargs(**self._OPTION_KWARG_NAMES_MAP))
|
|
98
|
+
|
|
80
99
|
t: Tool
|
|
81
100
|
for t in oc.pop(Tool, []):
|
|
82
101
|
tools.append(build_protocol_tool(t))
|
|
@@ -86,7 +105,7 @@ class AnthropicChatChoicesService:
|
|
|
86
105
|
system=system,
|
|
87
106
|
messages=messages,
|
|
88
107
|
tools=tools or None,
|
|
89
|
-
|
|
108
|
+
**kwargs,
|
|
90
109
|
)
|
|
91
110
|
|
|
92
111
|
raw_request = msh.marshal(a_req)
|
{ommlds-0.0.0.dev479 → ommlds-0.0.0.dev480}/ommlds/minichain/backends/impls/openai/format.py
RENAMED
|
@@ -23,6 +23,7 @@ from ....chat.stream.types import PartialToolUseAiDelta
|
|
|
23
23
|
from ....chat.tools.types import Tool
|
|
24
24
|
from ....content.json import JsonContent
|
|
25
25
|
from ....content.prepare import prepare_content_str
|
|
26
|
+
from ....llms.types import MaxCompletionTokens
|
|
26
27
|
from ....llms.types import MaxTokens
|
|
27
28
|
from ....llms.types import Temperature
|
|
28
29
|
from ....llms.types import TokenUsage
|
|
@@ -173,6 +174,7 @@ class OpenaiChatRequestHandler:
|
|
|
173
174
|
_OPTION_KWARG_NAMES_MAP: ta.ClassVar[ta.Mapping[str, type[ChatChoicesOptions]]] = dict(
|
|
174
175
|
temperature=Temperature,
|
|
175
176
|
max_tokens=MaxTokens,
|
|
177
|
+
max_completion_tokens=MaxCompletionTokens,
|
|
176
178
|
)
|
|
177
179
|
|
|
178
180
|
class _ProcessedOptions(ta.NamedTuple):
|
|
@@ -30,6 +30,8 @@ _GPT_MODEL_NAMES = [
|
|
|
30
30
|
'gpt-5-chat-latest',
|
|
31
31
|
'gpt-5-mini',
|
|
32
32
|
'gpt-5-nano',
|
|
33
|
+
|
|
34
|
+
'gpt-5.1',
|
|
33
35
|
]
|
|
34
36
|
|
|
35
37
|
|
|
@@ -46,7 +48,7 @@ CHAT_MODEL_NAMES = ModelNameCollection(
|
|
|
46
48
|
for n in _GPT_MODEL_NAMES
|
|
47
49
|
},
|
|
48
50
|
|
|
49
|
-
'gpt': 'gpt-5',
|
|
51
|
+
'gpt': 'gpt-5.1',
|
|
50
52
|
'gpt-mini': 'gpt-5-mini',
|
|
51
53
|
|
|
52
54
|
#
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
from omlish import check
|
|
2
|
+
from omlish import marshal as msh
|
|
3
|
+
from omlish import typedvalues as tv
|
|
4
|
+
from omlish.formats import json
|
|
5
|
+
from omlish.http import all as http
|
|
6
|
+
|
|
7
|
+
from ....backends.tavily import protocol as pt
|
|
8
|
+
from ...search import SearchHit
|
|
9
|
+
from ...search import SearchHits
|
|
10
|
+
from ...search import SearchRequest
|
|
11
|
+
from ...search import SearchResponse
|
|
12
|
+
from ...search import static_check_is_search_service
|
|
13
|
+
from ...standard import ApiKey
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
##
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# @omlish-manifest $.minichain.registries.manifests.RegistryManifest(
|
|
20
|
+
# name='tavily',
|
|
21
|
+
# type='SearchService',
|
|
22
|
+
# )
|
|
23
|
+
@static_check_is_search_service
|
|
24
|
+
class TavilySearchService:
|
|
25
|
+
def __init__(
|
|
26
|
+
self,
|
|
27
|
+
*configs: ApiKey,
|
|
28
|
+
http_client: http.AsyncHttpClient | None = None,
|
|
29
|
+
) -> None:
|
|
30
|
+
super().__init__()
|
|
31
|
+
|
|
32
|
+
self._http_client = http_client
|
|
33
|
+
|
|
34
|
+
with tv.consume(*configs) as cc:
|
|
35
|
+
self._api_key = ApiKey.pop_secret(cc, env='TAVILY_API_KEY')
|
|
36
|
+
|
|
37
|
+
async def invoke(self, request: SearchRequest) -> SearchResponse:
|
|
38
|
+
pt_request = pt.SearchRequest(
|
|
39
|
+
query=request.v,
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
raw_request = msh.marshal(pt_request)
|
|
43
|
+
|
|
44
|
+
http_response = await http.async_request(
|
|
45
|
+
'https://api.tavily.com/search',
|
|
46
|
+
headers={
|
|
47
|
+
http.consts.HEADER_CONTENT_TYPE: http.consts.CONTENT_TYPE_JSON,
|
|
48
|
+
http.consts.HEADER_AUTH: http.consts.format_bearer_auth_header(check.not_none(self._api_key).reveal()),
|
|
49
|
+
},
|
|
50
|
+
data=json.dumps(raw_request).encode('utf-8'),
|
|
51
|
+
client=self._http_client,
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
raw_response = json.loads(check.not_none(http_response.data).decode('utf-8'))
|
|
55
|
+
|
|
56
|
+
pt_response = msh.unmarshal(raw_response, pt.SearchResponse)
|
|
57
|
+
|
|
58
|
+
return SearchResponse(SearchHits(
|
|
59
|
+
l=[
|
|
60
|
+
SearchHit(
|
|
61
|
+
title=r.title,
|
|
62
|
+
url=r.url,
|
|
63
|
+
)
|
|
64
|
+
for r in pt_response.results or []
|
|
65
|
+
],
|
|
66
|
+
))
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from omlish import lang
|
|
2
|
+
from omlish import marshal as msh
|
|
3
|
+
|
|
4
|
+
from .protocol import ContentBlock
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
##
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@lang.static_init
|
|
11
|
+
def _install_standard_marshaling() -> None:
|
|
12
|
+
for root_cls, tag_field in [
|
|
13
|
+
(ContentBlock, 'type'),
|
|
14
|
+
]:
|
|
15
|
+
msh.install_standard_factories(*msh.standard_polymorphism_factories(
|
|
16
|
+
msh.polymorphism_from_subclasses(
|
|
17
|
+
root_cls,
|
|
18
|
+
naming=msh.Naming.SNAKE,
|
|
19
|
+
strip_suffix=msh.AutoStripSuffix,
|
|
20
|
+
),
|
|
21
|
+
msh.FieldTypeTagging(tag_field),
|
|
22
|
+
unions='partial',
|
|
23
|
+
))
|