Repository navigation
docs(sdks/python-cli): add Turkish quickstart guide (#13369) - #13370
Conversation
There was a problem hiding this comment.
1 issue found across 3 files
Confidence score: 3/5
sdks/python-cli/examples/quickstart.tr.mddocuments incorrect exit-code meanings, so scripts following the quickstart can misclassify usage, authentication, rate-limit, not-found, and server failures; replace rows 1–5 with the documented mapping.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="sdks/python-cli/examples/quickstart.tr.md">
<violation number="1" location="sdks/python-cli/examples/quickstart.tr.md:190">
P1: These exit-code meanings contradict the CLI’s stable contract, causing automation based on this guide to misclassify usage, auth, rate-limit, not-found, and server failures. Replace rows 1–5 with the documented mapping.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| | `1` | **Genel Hata** | Yakalanmamış iç istisna veya beklenmeyen hata. | | ||
| | `2` | **Bağımsız Değişken Hatası** | Geçersiz parametre, eksik argüman veya sözdizimi hatası. | | ||
| | `3` | **Yetkilendirme Hatası** | Eksik, geçersiz veya süresi dolmuş kimlik belirteci. | | ||
| | `4` | **Bulunamadı** | İstenen kaynak (hafıza, konuşma, hedef) mevcut değil. | | ||
| | `5` | **Ağ Hatası** | Bağlantı kesintisi veya sunucu zaman aşımı. | |
There was a problem hiding this comment.
P1: These exit-code meanings contradict the CLI’s stable contract, causing automation based on this guide to misclassify usage, auth, rate-limit, not-found, and server failures. Replace rows 1–5 with the documented mapping.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At sdks/python-cli/examples/quickstart.tr.md, line 190:
<comment>These exit-code meanings contradict the CLI’s stable contract, causing automation based on this guide to misclassify usage, auth, rate-limit, not-found, and server failures. Replace rows 1–5 with the documented mapping.</comment>
<file context>
@@ -0,0 +1,270 @@
+| Kod | Anlam | Tipik Neden |
+| :---: | :--- | :--- |
+| `0` | **Başarılı** | İşlem başarıyla tamamlandı. |
+| `1` | **Genel Hata** | Yakalanmamış iç istisna veya beklenmeyen hata. |
+| `2` | **Bağımsız Değişken Hatası** | Geçersiz parametre, eksik argüman veya sözdizimi hatası. |
+| `3` | **Yetkilendirme Hatası** | Eksik, geçersiz veya süresi dolmuş kimlik belirteci. |
</file context>
| | `1` | **Genel Hata** | Yakalanmamış iç istisna veya beklenmeyen hata. | | |
| | `2` | **Bağımsız Değişken Hatası** | Geçersiz parametre, eksik argüman veya sözdizimi hatası. | | |
| | `3` | **Yetkilendirme Hatası** | Eksik, geçersiz veya süresi dolmuş kimlik belirteci. | | |
| | `4` | **Bulunamadı** | İstenen kaynak (hafıza, konuşma, hedef) mevcut değil. | | |
| | `5` | **Ağ Hatası** | Bağlantı kesintisi veya sunucu zaman aşımı. | | |
| | `1` | **Kullanım Hatası** | Geçersiz bayrak, eksik bağımsız değişken veya doğrulama hatası. | | |
| | `2` | **Kimlik Doğrulama Hatası** | Kimlik bilgileri yok, süresi dolmuş belirteç veya yetersiz kapsam. | | |
| | `3` | **Sunucu Hatası** | 5xx yanıtı veya bağlantı hatası. | | |
| | `4` | **Hız Sınırı** | 429 Too Many Requests; yeniden deneme önerilir. | | |
| | `5` | **Bulunamadı** | 404; istenen kaynak mevcut değil. | |
…d exit codes with CLI contract Failure-Class: none
Git-on-my-level
left a comment
There was a problem hiding this comment.
Thanks for this @CreamPle — a thorough, idiomatic Turkish quickstart that mirrors the Japanese guide, and nice work turning around the earlier review comments (11 of 13 points are fixed and verified).
I checked the guide against the CLI source and it's accurate throughout, including the corrected exit-code table (0 success / 1 usage / 2 auth / 3 server / 4 rate-limited / 5 not-found), memory create with positional text + --category, action-item list --open / complete, goal create --type/--target/--unit, the global --json-before-subcommand rule, the OMI_API_KEY-vs-stored-profile note, and the env-var based local Desktop setup.
One blocking fix:
sdks/python-cli/examples/quickstart.tr.md line 70 — omi auth login --api-key (no value). The --api-key option requires its value; run as-is it exits with code 2 (Option '--api-key' requires an argument) and does not prompt. Please either drop the flag so the interactive picker handles the paste (omi auth login), or pass the value explicitly (omi auth login --api-key omi_dev_...) as the Japanese guide does.
Heads-up so you don't chase it: the three failing CI jobs (Linux / Python 3.10 / 3.12, Windows ACL / Python 3.12) all fail on tests/test_auth_api_key.py::test_transport_failure_during_login_leaves_saved_config_unchanged, which is failing the same way on main — unrelated to this docs-only change.
With that one line fixed this is in good shape for a maintainer merge decision.
by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.
…--api-key Address review feedback from @Git-on-my-level by passing an explicit argument placeholder `omi_dev_...` to `omi auth login --api-key` matching the convention in the Japanese quickstart guide. Failure-Class: none
|
Thanks @Git-on-my-level! Fixed in commit 10ec21f by passing the explicit placeholder omi_dev_... to omi auth login --api-key omi_dev_... exactly matching the convention in the Japanese quickstart guide. |
kodjima33
left a comment
There was a problem hiding this comment.
Docs-correctness spot-checked (exit code table matches errors.py EXIT_* constants, auth/local command names match source, previously flagged issues from cubic-dev-ai review fixed). Not merging: required CI checks (Linux/Windows Python matrix) are red — confirmed via job logs this is a pre-existing main-branch test failure (test_auth_api_key.py::test_transport_failure_during_login_leaves_saved_config_unchanged), unrelated to this docs-only diff, but hard floor still blocks merge on any failing required check.
Resolve discovery link conflicts in sdks/python-cli/README.md and examples/README.md
Verified on the current head: quickstart.tr.md line 70 now passes an explicit placeholder value to --api-key, resolving the concern raised in this review.
|
Follow-up verification on the new head (68246f9):
One merge-decision note: the required Linux/Windows Python matrix is green on this head. The flake that kept it red earlier ( Thanks @CreamPle — thorough, idiomatic work, and excellent follow-through across review rounds. by AI on behalf of David — no further maintainer response needed beyond the merge decision. |
Summary
Resolves #13369.
Adds a comprehensive, idiomatic Turkish quickstart guide (
sdks/python-cli/examples/quickstart.tr.md) foromi-cli:omi-cli) vs binary executable (omi)pipx(isolated environment) andpipomi auth login --browser)omi auth login --api-key) and environment variable (OMI_API_KEY)omi auth status) vs live server verification (omi auth whoami)--jsonoption andjqrecipes0,1,2,3,4,5)$LASTEXITCODEvalidation)omi local configure,omi local search-screen)--profile,~/.omi/config.toml)sdks/python-cli/README.mdandsdks/python-cli/examples/README.mdFailure-Class: none