news 2026/4/18 8:45:03

【AI】利用ollama提供的云端模型qwen3-coder:480b-cloud自动配置并启动claude code

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
【AI】利用ollama提供的云端模型qwen3-coder:480b-cloud自动配置并启动claude code

启动云端模型

模型信息:https://ollama.com/library/qwen3-coder:480b-cloud

启动指令

ollama run qwen3-coder:480b-cloud

根据提示,点击生成的链接,在浏览器完成登录,确认操作。
后续的启动不在需要web确认,效果如下:

yeqiang@yeqiang-Default-string:~/code/GmSSL$ ollama run qwen3-coder:480b-cloud Connecting to'qwen3-coder:480b'on'ollama.com'>>>Send a message(/?forhelp)

基于ollama自动配置并启动claude code

yeqiang@yeqiang-Default-string:~/code/GmSSL$ ollama run qwen3-coder:480b-cloud Connecting to'qwen3-coder:480b'on'ollama.com'>>># 直接退出Use Ctrl + d or /bye to exit.>>># 自动配置yeqiang@yeqiang-Default-string:~/code/GmSSL$ ollama launch claude --config Model Configuration Select model: Type to filter... codegeex4:9b-all-q8_0 deepseek-r1:14b deepseek-r1:32b deepseek-r1:70b ministral-3:14b qwen2.5-coder:14b# 这里用上下键,选择 qwen3-code:480b-cloud>qwen3-coder:480b-cloud shaw/dmeta-embedding-zh glm-4.7-flash - Recommended(requires ~25GB VRAM), install? glm-4.7:cloud - Recommended, install?... and2more# 选择模型后,回车,提示是否启动,输入yyeqiang@yeqiang-Default-string:~/code/GmSSL$ ollama launch claude --config Launch Claude Code now?(y/n)yesLaunching Claude Code with qwen3-coder:480b-cloud... ^[[I ▐▛███▜▌ Claude Code v2.1.31 ▝▜█████▛▘ qwen3-coder:480b-cloud · API Usage Billing ▘▘ ▝▝ ~/code/GmSSL /model to try Opus4.5────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ❯ Try"how do I log an error?"────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ?forshortcuts

完成claude code的初始化(当前在gmssl项目目录下)

初始化指令是/init

╭─── Claude Code v2.1.31 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ Tips for getting started │ │ Welcome back! │ Run /init to create a CLAUDE.md file with instructions for Claude │ │ │ ───────────────────────────────────────────────────────────────── │ │ │ Recent activity │ │ ▐▛███▜▌ │ No recent activity │ │ ▝▜█████▛▘ │ │ │ ▘▘ ▝▝ │ │ │ qwen3-coder:480b-cloud · API Usage Billing │ │ │ ~/code/GmSSL │ │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ /model to try Opus 4.5 ❯ 你好 ● 你好!我是 Claude Code,一个专门用于软件工程任务的交互式 CLI 工具。我可以帮助你解决编程问题、解释代码、重构代码、添加新功能等。 如果你有任何具体的任务或问题需要帮助,请告诉我。例如: - 解释某段代码的作用 - 帮助调试代码中的错误 - 添加新的功能或修改现有功能 - 重构代码以提高可读性或性能 - 回答关于代码库结构的问题 你可以随时输入 /help 获取更多关于如何使用我的信息。 有什么我可以帮你的吗? ❯ /init ● I'll analyze the codebase and create a CLAUDE.md file with the essential information for future instances of Claude Code to be productive quickly. First, let me explore the codebase structure to understand its architecture: ● Searched for 1 pattern (ctrl+o to expand) ● Let me look at the README.md to understand the project better: ● Read 1 file (ctrl+o to expand) ● Now let me check the CMakeLists.txt to understand the build system: ● Read 1 file (ctrl+o to expand) ● Let me check if there's already a CLAUDE.md file: ● Searched for 1 pattern (ctrl+o to expand) ● Let me check for any existing development documentation: ● Searched for 1 pattern (ctrl+o to expand) ● Let me read the INSTALL.md file to understand the installation process better: ● Read 1 file (ctrl+o to expand) ● Now let me look at the test files to understand how testing works: ● Searched for 1 pattern (ctrl+o to expand) ● Let me look at a few test files to understand the testing structure: ● Read 1 file (ctrl+o to expand) ● Let me also look at the tools directory to understand the command-line interface: ● Searched for 1 pattern (ctrl+o to expand) ● Let me look at the main gmssl.c file to understand the command-line interface: ● Read 1 file (ctrl+o to expand) ● Let me check a few more key files to understand the structure better: ● Read 1 file (ctrl+o to expand) ● Let me check the include directory structure to understand the API: ● Searched for 1 pattern (ctrl+o to expand) ● Let me look at the SM4 header to understand the API: ● Read 1 file (ctrl+o to expand) ● Now let me check the build directory to see if there are any build artifacts or specific configurations: ● Read 1 file (ctrl+o to expand) ● Let me check if there's a build directory already: ● Read 1 file (ctrl+o to expand) ● Based on my analysis of the GmSSL codebase, I'll now create a CLAUDE.md file with the essential information for future instances of Claude Code to operate effectively in this repository. ● Wrote 1 memory (ctrl+o to expand) ● I've successfully created a CLAUDE.md file for the GmSSL repository. This file provides essential guidance for future instances of Claude Code to understand and work effectively with this codebase. The CLAUDE.md file includes: 1. Overview - A brief introduction to what GmSSL is and its purpose 2. Build System and Common Commands - Instructions for building, configuring, and testing the project 3. Command Line Interface - Information about the main gmssl tool and its subcommands 4. Code Architecture and Structure - High-level organization of the codebase including core components and library organization This should give future Claude Code instances a solid foundation to understand the repository structure, build process, and key components without needing to explore the entire codebase from scratch. ✻ Churned for 2m 55s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ❯ run the tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ⏵⏵ accept edits on (shift+tab to cycle)

初始化完成后,生成的CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

GmSSL is a Chinese cryptographic library developed by Peking University that implements Chinese national cryptographic standards and secure communication protocols. It provides comprehensive coverage of national cryptographic algorithms and supports mainstream operating systems and processors including mobile platforms.

Build System and Common Commands

Basic Build Process

mkdirbuildcdbuild cmake..makemaketestsudomakeinstall

Configuration Options

Key CMake options that can be set during configuration:

  • -DBUILD_SHARED_LIBS=ON/OFF- Build dynamic/static libraries (default ON)
  • -DENABLE_TEST_SPEED=ON- Enable performance testing
  • Architecture-specific optimizations:
    • -DENABLE_SM4_AVX2=ON- SM4 AVX2 implementation
    • -DENABLE_SM4_AESNI=ON- SM4 AES-NI implementation
    • -DENABLE_SM2_AMD64=ON- SM2 X86_64 assembly
    • -DENABLE_INTEL_RDRAND=ON- Intel RDRAND instructions

Testing

Tests are located in thetests/directory with naming convention<algorithm>test.c. Run individual tests with:

./build/bin/<testname>test

Run all tests with:

cdbuild&&maketest

Command Line Interface

The main CLI tool isgmsslwith various subcommands:

  • gmssl sm2keygen- Generate SM2 keypair
  • gmssl sm2sign/sm2verify- SM2 signature generation/verification
  • gmssl sm2encrypt/sm2decrypt- SM2 encryption/decryption
  • gmssl sm3- Generate SM3 hash
  • gmssl sm4_*- Various SM4 encryption modes (cbc, ctr, gcm, etc.)
  • gmssl certgen/certparse- Certificate generation and parsing
  • Rungmssl helpfor complete command list

Code Architecture and Structure

Core Components

  1. Cryptographic Algorithms(src/andinclude/gmssl/)

    • Block ciphers: SM4 (various modes), AES
    • Stream ciphers: ZUC/ZUC-256, ChaCha20
    • Hash functions: SM3, SHA series
    • Public key cryptography: SM2 (signature/encryption), SM9
    • Post-quantum cryptography: LMS/HSS, XMSS, SPHINCS+, Kyber
  2. Certificate Infrastructure(src/x509*.c,include/gmssl/x509*.h)

    • X.509 certificate handling
    • CSR (certificate signing requests)
    • CRL (certificate revocation lists)
    • CMS (cryptographic message syntax)
  3. Transport Layer Security(src/tls*.c,include/gmssl/tls.h)

    • TLCP 1.1 (Chinese standard)
    • TLS 1.2 and TLS 1.3 with Chinese cipher suites
    • Secure communication protocols
  4. Hardware Support

    • SDF (Security Device Framework) for PCI-E crypto cards
    • SKF (Security Key Framework) for USB crypto tokens

Library Organization

  • Header files ininclude/gmssl/define the public API
  • Source files insrc/implement the core algorithms
  • Command-line tools intools/provide user interfaces
  • Test files intests/validate functionality
  • Hardware support modules insrc/sdf/andsrc/skf/

Key API Patterns

Most cryptographic algorithms follow consistent patterns:

  1. Key setup:algorithm_set_encrypt_key()andalgorithm_set_decrypt_key()
  2. Basic operation:algorithm_encrypt()
  3. Block processing:algorithm_encrypt_blocks()
  4. Streaming/context-based processing with init/update/finish pattern

The library emphasizes modularity with compile-time options to include/exclude specific algorithms or features.yeqiang@yeqiang-Default-string:~/code/GmSSL$

可以看到云端提供的qwen3-coder:480b-cloud可以正常运行。

注意,已实测不可用的模型

ministral-3:14b
qwen2.5-coder:14b
deepseek-r1:32b
codegeex4:9b-all-q8_0

虽然ministral显示支持工具调用,但是不支持claude的调用协议。

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/4/18 8:38:44

直接上结论:继续教育降AIGC网站,千笔 VS 文途AI

在AI技术快速发展的今天&#xff0c;越来越多的学生和研究者开始借助AI工具辅助论文写作&#xff0c;以提高效率、优化内容。然而&#xff0c;随着各大查重系统对AI生成内容的识别能力不断提升&#xff0c;"AI率超标"问题日益凸显&#xff0c;成为影响论文通过率的关…

作者头像 李华
网站建设 2026/4/18 8:35:58

使用 MATLAB/Simulink + Simscape Electrical 构建一个多馈入直流系统中光伏电站与风电场协同运行的模型

目录 手把手教你学Simulink ——基于高比例可再生能源渗透的复杂电网建模场景实例:多馈入直流系统中光伏电站与风电场协同运行仿真 一、背景介绍 二、系统结构设计 三、建模过程详解 第一步:创建新 Simulink 项目 第二步:添加主要模块 1. 光伏电站模型 2. 风电场模…

作者头像 李华
网站建设 2026/4/17 9:07:47

iOS WKWebView 安全机制:跨域隔离绕过与内存破坏漏洞

前言 技术背景 WKWebView 是苹果自 iOS 8 引入的现代化网页渲染组件&#xff0c;取代了安全性较差的 UIWebView。它采用多进程架构&#xff08;WebContent 进程独立于 App 主进程&#xff09;&#xff0c;并逐步引入站点隔离&#xff08;Site Isolation&#xff09;机制&#x…

作者头像 李华
网站建设 2026/4/8 22:17:15

BXMya 560CMU05 1KGT012700R0002 中央通信模块

560CMU05 1KGT012700R0002是瑞士ABB公司旗下的RTU中央通信模块&#xff0c;隶属于ABB RTU560系列远程终端单元模块系列&#xff0c;是工业自动化控制系统、RTU远程终端单元、SCADA系统及远程监控设备的核心通信与控制组件及备件&#xff0c;适配ABB RTU560系列远程终端单元系统…

作者头像 李华
网站建设 2026/4/18 8:00:36

照着用就行:千笔写作工具,全网顶尖的AI论文网站

你是否曾为论文选题发愁&#xff0c;绞尽脑汁却毫无头绪&#xff1f;是否在深夜面对空白文档无从下笔&#xff0c;反复修改却总对表达不满意&#xff1f;论文写作不仅是学术能力的考验&#xff0c;更是时间与精力的挑战。对于大多数本科生来说&#xff0c;文献查找、框架搭建、…

作者头像 李华
网站建设 2026/4/18 5:31:59

横评后发现!领军级的降AIGC平台 —— 千笔·降AIGC助手

在AI技术迅速渗透学术写作领域的当下&#xff0c;越来越多的学生开始借助AI工具提升论文撰写效率。然而&#xff0c;随着知网、维普、万方等查重系统对AI生成内容的识别能力不断提升&#xff0c;以及Turnitin等国际平台对AIGC的严格审查&#xff0c;论文中的“AI率超标”问题逐…

作者头像 李华