Skip to content

Fix/google gemini models and proxy timeout - #6

Merged
anantbhargava-lgtm merged 5 commits into
mainfrom
fix/google-gemini-models-and-proxy-timeout
Sep 15, 2026
Merged

anantbhargava-lgtm merged 5 commits into
mainfrom
fix/google-gemini-models-and-proxy-timeout

Conversation

@anantbhargava-lgtm

Copy link
Copy Markdown
Collaborator

No description provided.

…mponents

- Added getProjectByIdQuery to fetch individual project details.
- Added explicit runtime assertions in inference queries to guard against missing project IDs.
- Added projectId to ProjectState and fallback lookup in useProjectContext if the project is not in allProjects.
- Resolved activeProjectId fallback using route params in InputCardActionsRow, OutputCardEvaluator, PromptCleaningModal, and playground page.
- Disabled generate output button with tooltip if activeProjectId is absent.

CONV=a51d4f04-81c0-4eda-a17e-54cf6eba6035
TAG=agy
…erenceServiceImpl

- Replaced empty RuntimeException in RetryUtils with exception containing status code and response body to preserve upstream API error diagnostics.
- Updated InferenceServiceImpl to log full exception stack traces instead of message-only logging.

CONV=a51d4f04-81c0-4eda-a17e-54cf6eba6035
TAG=agy
…g model constraints

- Supported both max_output_tokens and max_tokens across Anthropic, OpenAI, Mistral, and OpenAI-compatible strategies.
- Added resolveModelName mapping in AnthropicStrategy for model aliases (Claude 3.7, 3.5, 3 Opus, Claude 4).
- Omitted temperature and top_p for OpenAI reasoning models (o1, o3, o4) to prevent HTTP 400 parameter rejections.
- Added resolveFrequencyPenalty to OpenAiCommonStrategy and MistralStrategy, fixing legacy frequence_penalty typo across Grok, DeepSeek, HuggingFace, and Mistral.
- Added retired model endpoint remapping in MistralStrategy and GoogleStrategy.

CONV=a51d4f04-81c0-4eda-a17e-54cf6eba6035
TAG=agy
…data

- Marked retired Google Gemini 2.0 models (gemini-2.0-flash-001, gemini-2.0-flash, gemini-2.0-flash-lite, gemini-2.0-flash-thinking-exp) with is_deprecated = 1.
- Marked retired Mistral models (mistral-tiny, mistral-tiny-2312, mistral-small-2312, mistral-medium-2312) with is_deprecated = 1.

CONV=a51d4f04-81c0-4eda-a17e-54cf6eba6035
TAG=agy
@anantbhargava-lgtm
anantbhargava-lgtm merged commit b3d47c8 into main Sep 15, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant