Commit Graph

257 Commits

Author SHA1 Message Date
Enrico Ros 4d247344d5 2 Open: end changelog 2025-10-27 18:42:48 -07:00
Enrico Ros 4e4738d4f6 2 Open: dissolve 1.17 2025-10-27 18:31:31 -07:00
Enrico Ros e41d57c914 Update README.md 2025-10-27 18:24:50 -07:00
Enrico Ros 7c5336cba3 2 Open: Link to live changes. 2025-10-27 16:48:42 -07:00
Enrico Ros 528055929a Legacy 2025-10-09 19:34:42 -07:00
Enrico Ros 66749ded0a Update the README.md 2025-10-09 19:30:15 -07:00
Enrico Ros e1e73cd260 Docker: update for main branch transition
Triggers on 'main'
2025-10-09 16:19:53 -07:00
Enrico Ros 463af67d17 Typo 2025-09-15 13:18:58 -07:00
Enrico Ros 8722e1be6c Azure: update docs 2025-09-12 14:26:31 -07:00
Enrico Ros cfba3ce834 Azure: update env var docs 2025-09-12 14:19:20 -07:00
Enrico Ros a4ad1e8295 Azure: remove description of the fix for #828, now it's merged 2025-09-12 14:19:20 -07:00
paulhshort 3d93c856ba Fix Azure OpenAI web_search_preview tool incompatibility
Azure OpenAI doesn't support the web_search_preview tool, which was causing
"Hosted tool 'web_search_preview' is not supported" errors with GPT-5 models.

## Changes:
- Pass dialect information to aixToOpenAIResponses function
- Skip web_search_preview tool addition when dialect is 'azure'
- Add logging when web search is skipped for Azure
- Document known Azure limitations in implementation guide

## Impact:
- Fixes web browsing errors with Azure GPT-5 models
- Maintains web search functionality for regular OpenAI models
- Provides clear logging for debugging

This is a critical fix for Azure OpenAI compatibility as web search is not
currently supported on Azure's Responses API implementation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 20:07:19 -04:00
paulhshort 9fe5697fd4 Fix Azure OpenAI Resource Not Found errors for GPT-5 and o3 models (#828)
This commit addresses GitHub issue #828 by fixing URL construction for Azure OpenAI's Responses API
and preventing malformed URLs from client configuration issues.

## Problems Fixed:
1. Host normalization: Prevents malformed URLs when client config includes paths/queries
2. API paradigm support: Properly handles Azure's next-gen v1 Responses API
3. API version consistency: Centralizes version management with env overrides

## Key Changes:
- Normalize Azure host URLs to origin only (strip path/query)
- Prefer server environment variables over client-provided hosts
- Add special handling for Responses API (/openai/v1/responses)
- Support both traditional (deployment-based) and v1 API paradigms
- Add configurable API versions via environment variables
- Include debug logging for API paradigm selection

## New Environment Variables:
- AZURE_API_V1: Enable next-gen v1 API explicitly
- AZURE_RESPONSES_API_VERSION: Control Responses API version
- AZURE_CHAT_API_VERSION: Control Chat Completions API version
- AZURE_DEPLOYMENTS_API_VERSION: Control deployments listing API version

## Testing:
Validated with Azure OpenAI endpoint showing:
- List Deployments:  Works
- Chat Completions:  Works (with correct params for GPT-5)
- Responses API (v1):  Works with /openai/v1/responses?api-version=preview
- Responses API (traditional):  404 (Azure doesn't support this pattern)

The fix defaults to using Azure's recommended next-gen v1 API for Responses
while maintaining backward compatibility for existing deployments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 19:37:41 -04:00
Enrico Ros b1a026bdd1 Prodia: remove for now as the API keeps changing and is not a good default for our users - may put this back anytime (#786) 2025-07-26 11:06:34 -07:00
Enrico Ros a55411c150 Auto-launch debugger on error/crit/DEV if the env var is set. 2025-05-12 14:09:25 -07:00
Enrico Ros 47315ed4a5 Drawing: improve provider names & icon 2025-04-25 01:06:22 -07:00
Enrico Ros d308739643 TS-based next.config & ~/server/env build 2025-04-18 19:12:14 -07:00
Enrico Ros b5eeb6945c Vector clocks note added to Data Ownership. 2025-03-10 20:20:58 -07:00
Enrico Ros 04f9512c2a Vercel: serverless functions timeout to 60
Do it the proper way, as the vercel_Production file only caused troubles.
2025-03-05 13:49:48 -08:00
Enrico Ros 82d39d3256 Env-vars: document Message of the day and new variables. 2025-03-04 16:33:16 -08:00
Enrico Ros 26f71ddedd PostHog: add functionality and documentation if you want to use it 2025-03-04 15:44:36 -08:00
Enrico Ros 3d7e4ebb71 Alibaba Cloud support, incl Qwen Max, Plus, Turbo. Fixes #759 2025-02-19 15:54:34 -08:00
Enrico Ros 083246bea1 FireworksAI: small doc change 2025-02-18 00:15:47 -08:00
Enrico Ros 46ff3c293a Fix link 2025-02-02 09:52:52 -08:00
Enrico Ros c034e9f2ee Link FAQs 2025-02-02 09:48:23 -08:00
Enrico Ros b2c5cebc08 Update help-faq.md 2025-02-02 09:26:08 -08:00
Enrico Ros 0017a6b0f9 Create help-faq.md 2025-02-02 09:17:28 -08:00
Enrico Ros 2480904929 Docs: add a Data Ownership guide 2025-01-31 11:13:33 -08:00
Enrico Ros 37354484c2 Cherry-picked the 1.16.9 release, to update GitHub desc. 2025-01-21 18:22:09 -08:00
Enrico Ros dfcd590fb3 tRPC: rename rooters 2024-11-20 22:43:13 -08:00
Enrico Ros d713edfcab Beam: start all/stop all shortcuts 2024-11-14 14:11:33 -08:00
Enrico Ros bddd1474c4 xAI: full support 2024-11-08 23:00:53 -08:00
Enrico Ros acc3bc4403 Simplify: remove backend analytics 2024-11-07 14:14:02 -08:00
Enrico Ros 45b4deb7c7 Visual indication of incognito 2024-11-02 19:32:39 -07:00
Enrico Ros cfb3a071c8 Docs. 2024-10-16 13:59:11 -07:00
Enrico Ros 950e1c8779 Build and lint fixes. 2024-10-12 19:38:39 -07:00
Enrico Ros b0f2ad6742 Drag in conversations 2024-09-23 14:06:59 -07:00
Enrico Ros afdfb83fc8 Lints 2024-09-22 10:42:22 -07:00
Enrico Ros d43f84e31e Docs: begin a Tips & Tricks (will add to it over time) 2024-09-20 01:26:13 -07:00
Enrico Ros 476a212ee8 LiveFile: doc update2 2024-09-19 13:38:13 -07:00
Enrico Ros 0470285338 LiveFile: doc update 2024-09-19 13:34:13 -07:00
Enrico Ros ab28ae2940 LiveFile: doc 2024-09-19 13:31:55 -07:00
Enrico Ros cafd491e35 Merge remote-tracking branch 'origin/main' into big-agi-2
# Conflicts:
#	docs/README.md
#	docs/environment-variables.md
2024-09-19 11:35:38 -07:00
Enrico Ros 32739fa15c Mistral: update models and pricing 2024-09-18 20:28:45 -07:00
Enrico Ros 782c0cf172 Link help-feature-microphone to the README 2024-09-17 16:22:17 -07:00
Enrico Ros 06d2bf2ba5 Update help-feature-microphone.md 2024-09-17 11:30:39 -07:00
Enrico Ros 9b902e0f8b Update help-feature-microphone.md 2024-09-17 11:29:50 -07:00
Enrico Ros 05e74a7cd8 Update help-feature-microphone.md 2024-09-17 02:50:04 -07:00
Enrico Ros 91a5878460 Help: microphone troubleshooting. 2024-09-16 13:08:36 -07:00
Enrico Ros fce21ad8eb Merge pull request #629 from darshmashru/patch-1
Fixed a redirection link typo
2024-09-15 00:12:51 -07:00