Merge pull request #3 from nornen0202/codex/codex-provider
Fix scheduled workflow YAML
This commit is contained in:
commit
67d781f8bf
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue