{ "cells": [ { "cell_type": "code", "execution_count": 3, "id": "011cecbb-41c0-4943-a37b-73ebd91d1e46", "metadata": {}, "outputs": [], "source": [ "import openai\n", "import os \n", "\n", "client_model = \"deepseek-ai/DeepSeek-V2.5\"\n", "client = openai.OpenAI(\n", " # api_key=os.environ[\"DEEPSEEK_API_KEY\"], base_url=\"https://api.deepseek.com\"\n", " api_key=DEEPSEEK_API_KEY, base_url=\"https://api.hyperbolic.xyz/v1\"\n", ")\n" ] }, { "cell_type": "code", "execution_count": 1, "id": "d55b29d2-bcf9-4e92-9b79-1f2e20478069", "metadata": {}, "outputs": [], "source": [ "DEEPSEEK_API_KEY=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJqb2huZG9lIn0.adqb-sj6G4xl7w7t9A4oRUBf1jNmcrc-0IcHjGhbz3o\"" ] }, { "cell_type": "code", "execution_count": null, "id": "86a236ee-791f-4ae7-92c4-c10d8b085f76", "metadata": {}, "outputs": [], "source": [ "from aider." ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.11.10" } }, "nbformat": 4, "nbformat_minor": 5 }