• Tanner-Maasen's avatar
    Add Azure OpenAI Custom Model Integration (#1001) · 2ffbbbca
    Tanner-Maasen 提交于
    Fixes #710 
    
    This PR implements comprehensive Azure OpenAI integration for Dyad,
    enabling users to leverage Azure
    OpenAI models through proper environment variable configuration. The
    implementation adds Azure as a
    supported provider with full integration into the existing language
    model architecture, including support
      for GPT-5 models. Key features include environment-based
    configuration using `AZURE_API_KEY` and `AZURE_RESOURCE_NAME`,
    specialized UI components that provide clear
    setup instructions and status indicators, and seamless integration with
    Dyad's existing provider system.
    The Azure provider leverages the @ai-sdk/azure package (v1.3.25) for
    compatibility with the current
      TypeScript language model interfaces.
    
    The implementation includes robust error handling for missing
    configuration, comprehensive test coverage
    with 9 new unit tests covering critical functionality like model client
    creation and error scenarios, and
      an E2E test for the Azure-specific settings UI. 
    
    <img width="1510" height="908" alt="Screenshot 2025-08-18 at 9 14 32 PM"
    src="https://github.com/user-attachments/assets/04aa99e1-1590-4bb0-86c9-a67b97bc7500"
    />
    
    ---------
    Co-authored-by: 's avatargraphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
    Co-authored-by: 's avatarWill Chen <willchen90@gmail.com>
    2ffbbbca
名称
最后提交
最后更新
..
fixtures 正在载入提交数据...
helpers 正在载入提交数据...
snapshots 正在载入提交数据...
1.spec.ts 正在载入提交数据...
approve.spec.ts 正在载入提交数据...
astro.spec.ts 正在载入提交数据...
attach_image.spec.ts 正在载入提交数据...
auto_approve.spec.ts 正在载入提交数据...
auto_update.spec.ts 正在载入提交数据...
azure_provider_settings.spec.ts 正在载入提交数据...
azure_send_message.spec.ts 正在载入提交数据...
backup.spec.ts 正在载入提交数据...
capacitor.spec.ts 正在载入提交数据...
chat_mode.spec.ts 正在载入提交数据...
context_manage.spec.ts 正在载入提交数据...
context_window.spec.ts 正在载入提交数据...
copy_app.spec.ts 正在载入提交数据...
delete_app.spec.ts 正在载入提交数据...
delete_provider.spec.ts 正在载入提交数据...
dump_messages.spec.ts 正在载入提交数据...
dyad_tags_parsing.spec.ts 正在载入提交数据...
edit_code.spec.ts 正在载入提交数据...
edit_custom_models.spec.ts 正在载入提交数据...
engine.spec.ts 正在载入提交数据...
env_var.spec.ts 正在载入提交数据...
fix_error.spec.ts 正在载入提交数据...
gateway.spec.ts 正在载入提交数据...
github.spec.ts 正在载入提交数据...
import.spec.ts 正在载入提交数据...
lm_studio.spec.ts 正在载入提交数据...
main.spec.ts 正在载入提交数据...
mention_app.spec.ts 正在载入提交数据...
new_chat.spec.ts 正在载入提交数据...
ollama.spec.ts 正在载入提交数据...
partial_response.spec.ts 正在载入提交数据...
problems.spec.ts 正在载入提交数据...
prompt_library.spec.ts 正在载入提交数据...
rebuild.spec.ts 正在载入提交数据...
refresh.spec.ts 正在载入提交数据...
reject.spec.ts 正在载入提交数据...
release_channel.spec.ts 正在载入提交数据...
rename_app.spec.ts 正在载入提交数据...
rename_edit.spec.ts 正在载入提交数据...
restart.spec.ts 正在载入提交数据...
retry.spec.ts 正在载入提交数据...
select_component.spec.ts 正在载入提交数据...
smart_context_options.spec.ts 正在载入提交数据...
supabase_client.spec.ts 正在载入提交数据...
supabase_migrations.spec.ts 正在载入提交数据...
supabase_stale_ui.spec.ts 正在载入提交数据...
switch_apps.spec.ts 正在载入提交数据...
switch_versions.spec.ts 正在载入提交数据...
telemetry.spec.ts 正在载入提交数据...
template-community.spec.ts 正在载入提交数据...
template-create-nextjs.spec.ts 正在载入提交数据...
thinking_budget.spec.ts 正在载入提交数据...
undo.spec.ts 正在载入提交数据...
version_integrity.spec.ts 正在载入提交数据...