【OpenAI/ChatGPT】API リクエストしたら「You exceeded your current quota, please check your plan and billing details.」

無料で3ヶ月間、18ドル分使えるというので。


openai.api_key = os.getenv("OPENAI_API_KEY")
try:
  response = openai.Completion.create(
    engine="davinci",
    # engine="gpt-3.5-turbo",
    prompt="Hello, world!",
    max_tokens=5
  )
  print(response.choices[0].text)
except Exception as e:
  print(f"{e=}, {type(e)=}")

NGでした。


e=RateLimitError(message='You exceeded your current quota, please check your plan and billing details.', http_status=429, request_id=None), type(e)=<class 'openai.error.RateLimitError'>

利用量の確認をします。

Below you'll find a summary of API usage for your organization. All dates and times are UTC-based, and data may be delayed up to 5 minutes.
👉 Account - OpenAI API hatena-bookmark

利用の記録はないです。

無料18ドル分も付与されてない雰囲気。

「アカウント作成から3ヶ月以内。」ということですがそれは満たしている。

どういうことなんすかね!?

👉 How can I get Free Trial Credits? - General API discussion - OpenAI API Community Forum hatena-bookmark


Google Photos 6.23.1 for iOS 16.3.1 Released now!!

Multiple reports on social media complain about the issue, which The Verge also highlighted. It appears that the Google Photos app is crashing instantly when iPhone and iPad users attempt to open it after upgrading to the latest software.

👉 iOS 16.3.1 Breaks Google Photos App | MacRumors Forums hatena-bookmark


Google is aware of the issue, and is “in the process of rolling out a fix in version 6.23.1 of the Google Photos app,” according Michael Marconi, a spokesperson for the company.

Update February 14th, 12:46AM ET: Added statement from Google.

👉 If Google Photos is broken for you on iOS, you’re not alone - The Verge hatena-bookmark

 

■ 2023-02-14 19:30 JST Fixed version appeared.


Version 6.23.1 

No crashed!! 🆗😁

👉 Google Photos on the App Store hatena-bookmark


【Android Studio】Giraffe や Flamingo の New UI がシンプルで素晴らしい件

いまどきのインターネットやパソコンやアプリが複雑でややこしすぎるのは皆が感じていることです。

「人間工学に基づき」とかいいながらややこしいだけのUIから、JetBrains は先を見越してシンプルなUIに向かっています。

👉 New UI | IntelliJ IDEA Documentation hatena-bookmark

それに合わせて Android Studio もシンプルで直感的なUI方面へ。


👉 Alexis C. GRIDEL's Blog - How to enable the new UI in Jetbrains products hatena-bookmark

ついでに、デフォルトテーマもコントラストを強くした「Dark」テーマは見やすくなっています。

Idea Intellij Ultimate。


IntelliJ IDEA 2022.3.2 (Ultimate Edition)
Build #IU-223.8617.56, built on January 26, 2023
Subscription is active until January 14, 2024.
Runtime version: 17.0.5+1-b653.25 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Android Studio Flamingo。


Android Studio Flamingo | 2022.2.1 Beta 1
Build #AI-222.4459.24.2221.9471578, built on January 10, 2023
Runtime version: 17.0.4.1+0-17.0.4.1b469.62-9127311 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

【Android Studio】Giraffe や Flamingo の New UI がシンプルで素晴らしい件

Android Studio Giraffe。


Android Studio Giraffe | 2022.3.1 Canary 2
Build #AI-223.7571.182.2231.9523943, built on January 25, 2023
Runtime version: 17.0.5+0-17.0.5b653.25-9484017 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Android Studio Giraffe | 2022.3.1 Canary 2

👉 New UI | IntelliJ IDEA Documentation hatena-bookmark

これ、次期、Android Studio Flamingo Stable に適用は、もしかして、まさか1年後とかなの?


👉 Android Studio Flamingo 隠された新デザイン「New UI」を有効化する2つの方法 🐦 hatena-bookmark
👉 【Android Studio Flamingo】dependencies をバージョンアップデートするときに確認するべき3つの相性 hatena-bookmark