Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
CsabaConsulting
stack-it-yourself-workshop
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
stack-it-yourself-workshop
/
env
/
hosted.env.example
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
27 lines (27 loc) · 1.53 KB
main
Breadcrumbs
stack-it-yourself-workshop
/
env
/
hosted.env.example
Copy path
Top
File metadata and controls
Code
Blame
27 lines (27 loc) · 1.53 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Hosted fallback on Azure AI Foundry - use ONLY if your local model will not run.
#
# 1. Copy this file to env/hosted.env
# 2. Replace the two <...> values with the endpoint and key from your workshop instructors
# 3. Carry on with the workshop exactly as everyone else does
#
# This file overrides the model settings in every step, so you never edit it again.
# env/hosted.env is git-ignored - never commit a key.
#
# The deployment serves Qwen3-4B-Instruct-2507 - the same model as the recommended local tier
# (qwen3:4b-instruct) - so no exercise puts you at a disadvantage. Qwen3-1.7B isn't offered as a
# hosted model in Azure AI Foundry, which is why the fallback uses the 4B instruct model.
MODEL=openai-chat:qwen3-4b-instruct
OPENAI_BASE_URL=https://<your-foundry-resource>.services.ai.azure.com/openai/v1/
OPENAI_API_KEY=<your-api-key>
REASONING=default
#
# The endpoint also speaks the Responses API: MODEL=openai-responses:qwen3-4b-instruct works too.
# openai-chat: is the default because it measured faster on this deployment (about 1.8 s per turn
# against 3.2 s).
#
# Running the workshop yourself? scripts/hosted-fallback.ps1 (or .sh) deploys the model to your own
# Azure AI Foundry resource ("up", 15-20 minutes), writes this file for you ("env"), and removes the
# deployment afterwards ("down"). Managed compute bills per GPU-hour while the deployment exists
# (about USD 3.95/hour for one A100), so run "down" as soon as the session ends.
#
# Any other OpenAI-compatible endpoint works too: change the model, URL and key above to its values.
You can’t perform that action at this time.