Merge pull request #3 from nornen0202/codex/codex-provider

Fix scheduled workflow YAML
This commit is contained in:
nornen0202 2026-04-06 08:53:31 +09:00 committed by GitHub
commit 67d781f8bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 12 deletions

View File

@ -60,18 +60,19 @@ jobs:
shell: pwsh shell: pwsh
run: | run: |
$workspaceDir = Join-Path $env:GITHUB_WORKSPACE ".codex-preflight" $workspaceDir = Join-Path $env:GITHUB_WORKSPACE ".codex-preflight"
@" $script = @(
from tradingagents.llm_clients.codex_preflight import run_codex_preflight "from tradingagents.llm_clients.codex_preflight import run_codex_preflight",
result = run_codex_preflight( "result = run_codex_preflight(",
codex_binary=None, " codex_binary=None,",
model="gpt-5.4", " model='gpt-5.4',",
request_timeout=30.0, " request_timeout=30.0,",
workspace_dir=r"$workspaceDir", " workspace_dir=r'$workspaceDir',",
cleanup_threads=True, " cleanup_threads=True,",
) ")",
print("Codex account:", result.account) "print('Codex account:', result.account)",
print("First available models:", ", ".join(result.models[:8])) "print('First available models:', ', '.join(result.models[:8]))"
"@ | python - ) -join \"`n\"
$script | python -
- name: Run scheduled analysis and build site - name: Run scheduled analysis and build site
shell: pwsh shell: pwsh