hermes-agent/agent
falkoro 9ad912a791 fix(agent): honor auxiliary.<task>.base_url/api_key when provider is passed explicitly
_resolve_task_provider_model returns early on an explicit provider arg,
which skips the config block that consults auxiliary.<task>.base_url /
api_key. Any caller passing provider explicitly (e.g.
resolve_vision_provider_client(provider="custom", ...)) bypasses the
configured custom endpoint and falls through to main-runtime resolution,
silently routing the task to the wrong backend.

Adopt the task's configured base_url/api_key before the early returns,
but only when no explicit base_url was given and the config targets the
same provider (or names none) — a caller forcing a *different* provider
keeps full explicit-arg priority, and an explicit base_url still wins
over config.

Fixes #58515
2026-07-05 14:41:43 -07:00
..
lsp fix: remove dead f-string prefixes via ruff F541 (216 sites) (#52336) 2026-07-05 13:42:46 -07:00
pet fix: remove dead f-string prefixes via ruff F541 (216 sites) (#52336) 2026-07-05 13:42:46 -07:00
secret_sources
…
transports feat(mcp): adopt mcp__server__tool naming convention 2026-07-05 13:40:21 -07:00
__init__.py
…
account_usage.py
…
agent_init.py fix(copilot): set x-initiator per turn so user prompts bill as premium requests (salvage #4097) (#58544) 2026-07-05 00:44:15 -07:00
agent_runtime_helpers.py Revert "Merge pull request #58698 from kshitijk4poor/feat/pre-tool-call-approve-escalation" 2026-07-06 02:36:52 +05:30
anthropic_adapter.py
…
async_utils.py
…
auxiliary_client.py fix(agent): honor auxiliary.<task>.base_url/api_key when provider is passed explicitly 2026-07-05 14:41:43 -07:00
azure_identity_adapter.py
…
background_review.py
…
bedrock_adapter.py
…
billing_view.py
…
bounded_response.py fix(agents): bound streaming error-response body reads 2026-07-05 14:00:20 -07:00
browser_provider.py
…
browser_registry.py
…
chat_completion_helpers.py fix(poolside): handle integer finish_reason and tool_call id 2026-07-04 15:44:50 -07:00
codex_responses_adapter.py fix(codex): route commentary-phase preamble text to reasoning channel (fixes #41293) 2026-07-05 06:29:45 -07:00
codex_runtime.py fix(codex): stream commentary deltas through the reasoning channel 2026-07-05 06:29:45 -07:00
coding_context.py
…
context_breakdown.py
…
context_compressor.py fix(compressor): keep a user turn when compression would drop the last one 2026-07-05 21:41:44 +05:30
context_engine.py
…
context_references.py
…
conversation_compression.py
…
conversation_loop.py chore(providers): remove dead cloudcode-pa quota-fallback branches (#51489) 2026-07-05 13:44:33 -07:00
copilot_acp_client.py
…
credential_persistence.py
…
credential_pool.py
…
credential_sources.py
…
credits_tracker.py
…
curator.py
…
curator_backup.py fix: remove dead f-string prefixes via ruff F541 (216 sites) (#52336) 2026-07-05 13:42:46 -07:00
display.py
…
error_classifier.py feat(errors): fail fast on TLS certificate verification failures with fix hints (#57992) 2026-07-05 02:05:51 -07:00
errors.py
…
file_safety.py
…
gemini_native_adapter.py fix(agents): bound streaming error-response body reads 2026-07-05 14:00:20 -07:00
gemini_schema.py
…
i18n.py
…
image_gen_provider.py
…
image_gen_registry.py
…
image_routing.py Guard native image routing with file safety 2026-07-05 03:15:03 -07:00
insights.py
…
iteration_budget.py
…
jiter_preload.py
…
learn_prompt.py
…
learning_graph.py
…
learning_graph_render.py fix: cover remaining GNU-only %-d strftime site in learning graph render 2026-07-05 00:59:35 -07:00
learning_mutations.py
…
lmstudio_reasoning.py
…
manual_compression_feedback.py
…
markdown_tables.py
…
memory_manager.py
…
memory_provider.py
…
message_content.py
…
message_sanitization.py
…
moa_loop.py
…
moa_trace.py
…
model_metadata.py
…
models_dev.py
…
moonshot_schema.py
…
nous_rate_guard.py
…
onboarding.py fix(config): close unreadable-overwrite bug class at a single chokepoint 2026-07-05 23:00:34 +05:30
oneshot.py
…
plugin_llm.py
…
portal_tags.py
…
process_bootstrap.py fix(agent): apply pool-level keepalive to the process_bootstrap sibling builder 2026-07-05 03:14:55 -07:00
prompt_builder.py
…
prompt_caching.py
…
rate_limit_tracker.py
…
reasoning_timeouts.py
…
redact.py fix(redact): skip env-lookup exception for JSON/YAML config field redaction 2026-07-05 13:58:19 -07:00
replay_cleanup.py
…
retry_utils.py
…
runtime_cwd.py
…
secret_scope.py
…
shell_hooks.py feat(hooks): spill oversized hook-injected context to disk (#20468) 2026-07-05 13:51:26 -07:00
skill_bundles.py
…
skill_commands.py feat(skills): stacked slash-skill invocations — /skill-a /skill-b do XYZ (#57987) 2026-07-05 02:20:01 -07:00
skill_preprocessing.py
…
skill_utils.py
…
ssl_guard.py
…
ssl_verify.py
…
stream_diag.py
…
subdirectory_hints.py
…
system_prompt.py
…
think_scrubber.py
…
thinking_timeout_guidance.py
…
thread_scoped_output.py
…
title_generator.py
…
tool_dispatch_helpers.py
…
tool_executor.py Revert "Merge pull request #58698 from kshitijk4poor/feat/pre-tool-call-approve-escalation" 2026-07-06 02:36:52 +05:30
tool_guardrails.py
…
tool_result_classification.py
…
trajectory.py
…
transcription_provider.py
…
transcription_registry.py
…
tts_provider.py
…
tts_registry.py
…
turn_context.py feat(hooks): spill oversized hook-injected context to disk (#20468) 2026-07-05 13:51:26 -07:00
turn_finalizer.py
…
turn_retry_state.py
…
usage_pricing.py
…
verification_evidence.py
…
verification_stop.py
…
verify_hooks.py
…
vertex_adapter.py
…
video_gen_provider.py
…
video_gen_registry.py
…
web_search_provider.py
…
web_search_registry.py
…